Don't go in to infinite loop if all database configuration is passed in as options - throw an exception is database config is invalid.
Add test for install command. Tests that an exception is thrown if database config is invalid when passed in as options
Merge pull request #265 from AydinHassan/features/install-cmd-fail-invalid-db-config

Features/install cmd fail invalid db config