Refactored server/client code for attribute values so that the order they were specified in in config is reflected in the UI.
Removed unused JS variable allAttributeTypes
Updated _fill_attribute_configuration to not pre-allocate
Eliminated extra whitespace
Merge pull request #1102 from duncanka/master

Made UI respect order of attributes in config