Made the Xml serializer process types and variable names;
Made ParamDescriptor and ThrowsDescriptor inherit from ReturnDescriptor;
Added VarDescriptor;
Added file doc blocks to all descriptors.
At the XML serializer (only!), added back the "$" in front of property names.
Merge pull request #811 from boenrobot/type-fix

More legacy related fixes