Overhaul 3

- Moved all repositories and models from Version1 directory to a
Repositories folder within the newly renamed apiv1 (previously api).
Routes now look for a v1 prefix.
Refactor

- Started adding in tests for the various parts of the system
- Removed database seed files
- Updated DB schema
- Bug fixes for several areas
- Installed Codeception
- Implemented versioning across the Api
- API URL’s now implement version prefix
Re-adding deleted test files as causing composer error
Updates

- removing DB details from the repo. Now to be used in
.env.{envname}.php files
- Added services file from new Laravel 4.2 project to enable Mandrill
usage
- Env detection now uses the server var properly
Debug removal. Updated sql dump for testing
Re-adding incorrectly deleted files
Mandril v1
Merge branch 'Mandrill' into dev-260714-0525
Updates

Removing unwanted code
- AppArticleTransformer now sends back a full share link
- Adjusting the patternMaker
Merge branch 'Mandrill' into dev-260714-0525

Conflicts:
	web/app/config/development/app.php
Conflict fix
Changing article base URL to point at app
All emails. Code tidy

- Integrated forgotten password email. Tidied up
ForgottenPasswordResponseMaker
- Integrated account password changed email
- removed sending of password back in API response (previously this was
debug info due to the lack of email)
- New email classes for forgotten and change emails
- Mandrill client now accepts message type to determine which endpoint
to use
- registration email now sends ‘message’ as type rather than
registration
- New HTML templates for new emails
Merge branch 'Mandrill' into dev-260714-0525
Updated email address for all templates with correct
Merge branch 'Mandrill' into dev-260714-0525

Conflicts:
	web/composer.json
Imagery

- Article assets now look for a particular type of image (list view)
- ArticleTransformer now references Media Transformer
- New MediaTransformer for converting assets to the API required formed
- New global config file (covers all environments)
- New helper method to detect device - isTablet()
Merge branch 'CDN-Imagery'