Added preserve_defined_order flag to annotation builder

This flag when set preserve the elements in the order they are defined in the class as opposed to the default of putting fieldsets after elements.