Added install controller and code for setting the database.php config file. modulargaming/modulargaming#197.