Merge pull request #37 from ciarand/feat/tests

Add testing / automation infrastructure
Fix logout links

I had a stray ‘.’ so I fixed it.
Update PurplappSettings.php
Update 404.php
Add new acceptance tests
Let tdd accept CLI flags