Implementing the search API to use a Google Search Appliance backend.

This also improves the way exceptions are used to invoke HTTP error responses.
I would generally use a default configuration file that specifies defaults, load the user specific config as an overlay.  The Flask specific config object has a lot of helper methods: http://flask.pocoo.org/docs/api/#flask.Config