- Updates, User profile

- Api Client now allows any response, not just from this API
- New GoogleMapsMaker to get user lat and lon
- New UserProfileMaker
- New UserProfileResponseMaker
- UserResponder now ‘uses’ App rather than \App
- UserTransformer now accepts and formats profile object
- ApiValidator now accepts a messages array for message over-riding
- New UserProfileValidator
- New Google API config file
- Changed responseCodes to use OK instead of contentLocated
- All files that previously used contentLocated now use OK
- New helper methods getDateTime and getAccessKey
- New IOC bindings for UserProfile
- New ApiValidation lang file
- New route for UserProfile
- Setting foreign key for UserProfile table
- Updates to UserProfileModel
- New methods in UserRepository to support UserProfile
Google maps

- Call to geo-encode now supplies API Key
Password Responses

- PaswordChangeResponseMaker no longer returns results in an array
- Fixed bug with accessKey being returned outside of the user object
Search response

- Search response now returns an array of adverts to be displayed
UserProfileMaker

- expected vars are now camel cased
- conditionally checking whether the GoogleMap translator should be
called
UserTransformer

- UserTransformer now returns correctly camelCased field names
VenueTransformer

- VenueTransformer no longer returns website. This seems to have been
removed from the DB
PostCodeValidator

- New postCode Validator
Registration validator

- Validator now expects camelCased field names
UserProfileValidator

- now expects camelCased field names
- added postcode validator call
- postcode validation messaging
Google Api config

- updated API key
UserController

- Now calls UserProfileResponseMaker
Validation messages

- new postcode related validation message
Global.php

Now inits a resolver of the new postcode validator
UserRepository

- New way of determining whether a user profile exists
- calling correctly named function to get user profile
UserRepository bug fix

- updating expected field names to be camelCase
Bug fixes

- Field name change in UserProfileMaker
- Field name change in UserRepository
User preferences

- New UserPreferenceResponseMaker
- UserProfileResponseMaker now implements Lang messaging
- UserResponder method for setting user prefs. Added Lang support
- New UserPreferencesOrganiser tool
- New UserController method for preferences
- New helper alias for userIsAuthenticated
- IOC bindings for user prefs
- New api messaging
- new user profile routes
- New test data file for user prefs (draft)
- New UserRepository method for setting user content prefs. Classes now
uses DB
Merge branch 'user-preferences' into dev-150714-1115
Bug fix

- checking for presence of array and items in the array before trying
to iterate over them