added test runner in top directory and edited settings and init to allow...

... loading configuration for tests. 

I needed to make  changes in __init__ and settings.py it because I had completely different settings for tests and for development and production, so I decided it might be easier to load configuration from objects depending on environment variable. This is the way which is recommended in Flask documentation. 

Hope this helps somehow!