Testing for generated projects

sets up spec helper, better package generation, dev and test settings loaded.

Still yet to do: fixtures, tests for generated API, H2 database in testing.