Pass blueprint configuration through on init
Merge branch 'master' into z3950-error-handling

* master:
  Pass blueprint configuration through on init
Use context manager to handle connection
Cleanup imports