Move database connections before sinatra/activerecord inclusion.