Adds Travis CI configuration.
Runs composer.phar using php.
Adds install.
Changes travis config.

Updates PHP version, install mongo via PECL and sleeps before loading.
Removes interaction.

[Stack Overflow
question](http://stackoverflow.com/questions/8141407/install-pecl-modules-without-the-prompts).
Removes apcpecl install.

Accidentally put this in when I copied code from Stack Overflow.
Changes database config.
Adds default database name.

This is required to stop Travis builds failing for some unknown reason.
Merge pull request #298 from LearningLocker/issue-206

Adds Travis for continuous integration.