Subhas/Faris | Fix bug when option_strings has line encoded as \r\n
Subhas/Faris | Fix line encoding issue in API response to mobile as well
[UI]Kavitha|AdvancedSearch UI-forms and fields to share percentage of screen width
Merge pull request #562 from kavithaRajagopalan/advancedSearchUI

[UI]Kavitha|AdvancedSearch UI-forms and fields to share percentage of sc...
[UI]Kavitha|Advanced Search page - selection of criteria css modified for cleaner UI
Merge pull request #563 from rapidftr/advancedSearchUI

[UI]Kavitha|Advanced Search page - selection of criteria css modified fo...
[Machaba|Faris] Fixed browser test.
[#1875] Machaba/Faris : Added model enquiry and a controller. Only one method "create" so far.
[#1875] Machaba/Faris | rendered JSON in enquiries_controller#create and refactored tests
[#1875] Machaba/Faris | Added update exisiting record.
[#1875] Machaba/Faris | Create doesn't update records any more. Any attempt to update an existing record by posting to create return 403 error.
[#1875] Machaba/Faris | Added enquiries_controller#update.
[#1875] Machaba/Faris | Moved sanitize_params to api_controller. Added before_save filter to enquiries_controller to sanitize params.
[#1875] Machaba/Faris | Moved method set_creation_fields_for to RecordHelper.
[#1875] Machaba/Faris | Moved update_* from Child to RecordHelper.
[#1875] Machaba/Faris | Moved photo-related and history-related methods to RecordHelper.
[#1875] Machaba/Faris | Created AttachementHelper.
[#1875] Machaba/Faris | Added timestamps to enquiry for created_at and posted_at times
[#1875] Machaba/Faris | Added created_organisation to enquiry. Created Class method in Enquiry to create enquiry object with user details.
Merge pull request #564 from farismosman/master

[#1875] Create Enquiry API