Don't require database connection at class loading
Don't require database connection at class loading

Check the database adapter **inside** the lambda, so it gets not executed at class loading time anymore.

Fixes #299
stefankroes/ancestry,kbrock/ancestry