Checkout test/base.php from vitsalis/cronjob to include functional test base
Add simple_html_dom 3rd party lib to use for functional controller tests for HTML
Lower time limit for running individual tests
Add base functional controller with request support
Make redirect exception expose resource/method
Move functional test base to separate file
Test that user is logged in after registration
Make functional requests executed under the test env
Merge environment typo fixes from vitsalis/cronjob
API for accessing args in RedirectException
Maintain session across mock redirects
User create controller test must create user using POST and a long password
Style: Use single quotes when no interpolation is required
Style: Use camelCase for variables
Remove "all" parameter from unit test controller
Use camel case for var named "unitTest"
Boolean conversion is not needed when passing to assertTrue
Simplify code pertaining to running all testscases in controller
Consistency and coding style
Remove div.infobubble from div.gameboard

Do the necessary changes on javascript files.