Added an init_app method to the Database class.

Improvement of #121 as suggested by @ketrainis.
This now uses `peewee.Proxy` to allow the use of `Database.Model` before initialization.