Allow specification of per-class connections

Use late static binding to allow per-class specification of connections. A potential fix for https://github.com/lox/pheasant/issues/50.
/cc @lox