Moves db mod choice to env setting

Instead of setting what db module to use in the start arguments, it's done through an env setting so it can be easily changed through ``set_env`` (e.g. when using ``application:start`` to load it from another app).

(same as #15 but rebased on v0.3.0 branch)