Q1: Are spiked gauntlets just armor with armor spikes?
No. The description of armor spikes cites grappling as the cause for extra damage, not punching. So the armor spikes are arranged around the suit of armor in such a way that they don't hinder its protective function or harm the wearer but can be brought to bear on a grappled opponent. Spiked gauntlets are lists as a single item.
Q2: Are both parts able to be enhanced on their own?
Both parts being what? Spiked gauntlets are one item. You can enchant them either way, or both although that is only explicitly mentioned for a shield. "A shield could be built that also acted as a magic weapon, but the cost of the enhancement bonus on attack rolls would need to be added into the cost of the shield and its enhancement bonus to AC."
Q3: Gauntlets enchanted with armor bonus and spikes enchanted with attack bonus?
If they were separate items yes, but they're not. If you extrapolate the information about shields being able to be enchanted both ways to include all items which could fulfil both protective and offensive categories then also yes but as a single item carrying all enchantments.
Q4: Gauntlets should only provide an AC bonus instead of an attack bonus?
No, it means you get to choose how you want to enchant them, as armor or as a weapon, or both.
Everything can be a weapon, that is why there are the Catch Off Guard, and Throw Anything feats.
Whether a broom, bucket, barstool, spoon, jug, gauntlet, or shield anything can be used as a weapon. It may not be the original intention, but that doesn't matter in the thick of combat... or a particularly vicious breakfast sitting.
Gauntlets are armor (as stated by Yogozuno, sorry KRyan but we should buy that, as it is their original intended purpose, they've expanded their role since then I admit), they protect the hand and wrist.
Shields and gauntlets are pieces of armor that have been used as weapons so much they have earned their own entry in weapon tables.
They are listed in 8 of the 21 "Armor Piece Descriptions - Arms". According to PathFinder RAW gauntlets don't warrant an individual AC bonus for being worn. However, for Piecemeal Arm Armor of Chain upwards (in weight) where the arm armor counts for +1 of the entire suit, if you don't wear the gauntlets you shouldn't get the +1 AC the arm armor would provide as you are not wearing everything that is required. As per the following description for Chain "sleeves of loose-fitting chain fitted to the shoulder, or separate lengths of chain attached to pauldrons and couters, and ending in a pair of gauntlets at the hands", if you didn't have the gauntlets on you don't have the arm armour ALL on.
PathFinder allows enchanting in both Armor and Weapon varieties on the same item as others have already stated here.
RAW allows the wearing of arm armour alone. For Chain you get the +1AC, +2Max Dex, -3ArmorCheckPenalty, and 30%Spell Failure.
Masterwork and magic can then be applied as normal.
So you can wear a pair of gauntlets (or just one) but they are deemed too insignificant a piece of the overall armour to grant a +1 AC bonus, but you can still punch with them for more damage that your bare fist. They're just not being used for the originally intended purpose.