Support configuration from dotted module path

If the passed settings string does not exist, try to load it as per
Flask's config.from_object method.

Ideally, just supporting the Flask way of loading configuration
would give us broader options. So, it'd be great to use this to
start discussing improvements over the configuration loading.