Updates to Vagrant to include testing database.
Update configuration example to detect already defined constants.

Prevents a barrage of warnings under test conditions.
Switch to Codeception for testing.
Include run-once and run-always files in PuPHPet to automate more provisioning.
Basic acceptance tests for key pages.
Move old PHPUnit tests to correct location for Codeception
First pass at installing Apache et al on Travis
Remove redundant phpunit.xml
Make the dependency installer executable.
Update composer lockfile to now include test tools.
On a build failure send all the logs to the console.
Richer output during bootstrapping tests.
More useful Xapian documentation.
A (currently failing due to button id) test for entering a postcode.
Prevent debug from trying to perform array to string conversion.
Remove call time passing by reference.

Closes #364

The generate_commentteaser() function declaration already handles referencing, hence no change.
http://stackoverflow.com/questions/8971261/php-5-4-call-time-pass-by-reference-easy-fix-available