[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
[#1875] Machaba/Faris | Added ability.
Merge pull request #565 from farismosman/master

[#1875] Machaba/Faris | Added ability.