Fixing specs and cleaning up db configs to allow mysql and sqlite support. TRAD-37