Database initializer

Added code to drop and re seed the database if the application model is
changed. This is to be used for development purposes to save having to
manually re-create and populate the database following model changes.