Small fixes to get working on Ubuntu, run-tests command, and mysql ram disk feature.

Some small fixes to get civiprj working for me on Ubuntu.

Also added a new command: run-tests that creates the project if it doesn't exist and runs the tests on it or just runs the tests if the project is already setup.

Added a --mysql-ram-server option that will setup a mysql server that runs on a RAM disk and creates the project so that it uses that server.