Ensure that $app['orchestra.installed'] is preserved between call.

Signed-off-by: crynobone <crynobone@gmail.com>
Add testcases for Orchestra\Foundation\Installer::checkDatabase()

Signed-off-by: crynobone <crynobone@gmail.com>