add app_root base extension method
try @ablagoev workaround in https://github.com/janko-m/sinatra-activerecord/issues/36