Features/install cmd fail invalid db config

Hey, not sure if this is the best process and I may have missed something. Let me know and i'll make the appropriate changes.

I'm basically checking if all the database options have been passed in to the command, if so and the database validation fails - then I throw an exception.

I've included a test but my test writing skills are limited!

Attempting to fix #262