Fix issues in MySQL strict mode

Summary:
- Make travis-ci builds run in MySQL strict mode
- Add missing default values for oauth tables
  - Give oauth_clients/oauth_authorization_codes redirect_uri a default value
  - Default value for created
  - Default values for scope and grant_types
- Move oauth table created migration into the koauth module
- Fix Migration_Oauth2_0_1_20140310135458::down()
  The minimum value for TIMESTAMP is 1970-01-01 00:00:01 so we have to handle created = 0 differently
- Explicitly add redirect_uri value's in Base.yml
- Fix format of 'updated' column in Form Model
- Trim whitespace in Form Model
- Fix the way we set query strings in behat tests
  Behat's auto parsing of the url was failing because 'http://' appeared in our query string.

Fixes T185

Test Plan:
- Set mysql mode to strict `SET GLOBAL sql_mode = 'STRICT_ALL_TABLES'`
- Run unit tests

Reviewers: shadowhand

Reviewed By: shadowhand

Maniphest Tasks: T185

Differential Revision: https://phabricator.ushahidi.com/D41