Merge pull request #1 from Block8/master

Pulling in latest
bump required php version to 5.3.8.
Merge pull request #398 from meadsteve/master

Require at least php 5.3.8
Making login redirect you to where you were trying to go after logging in.
Enabling the exception / error handler for console mode only. Also fixing a catchable fatal error in the BuildFactory class.
Merge branch 'master' of github.com:Block8/PHPCI
Adding some form of exception handling to front-end requests
Updating exception handler to return the appropriate HTTP response code
Cleaning up exceptions in the Project controller
Cleaning up exceptions in the Build controller
Cleaning up exceptions in the BuildStatus controller
Cleaning up exceptions in the User controller
Added missing run statement for PhpSpec
Changed PhpSpec run command order to match docs
Merge pull request #400 from danio1024/master

Added missing run statement for PhpSpec. Fixing #372
Updating UI plugins to fix memory leak reported in #394
Merge branch 'master' of github.com:Block8/PHPCI
Merge pull request #399 from Block8/dc/error-handling

Better error handling for the front-end UI
Initial work on fixing the complexity of user controller
Fixing merge conflict