Initial work on adding a Services layer to PHPCI, for better testability. Starting with Projects
More work on ProjectService and its tests
Fixing some issues with project default branches, adding tests for that too
More service layer functionality, builds now. Also some extra tests for projects and build models.
Updating webhooks to use build service
Fixing PHPCI issues for this branch
Moving user controller to using a service class
Migrating install and create-admin console commands to use userservice
Adding some tests for the UserService class.
Reverting accidental addition of engine and parent_id columns to the Build table.
Merge pull request #492 from Block8/dc/services-layer

Add a services layer to PHPCI for better unit testability