Create schemas if not exist now when using Filesystem backend

since OAuth uses the sqlite backend still, we need to create the DB
schema if none exists.
Added logfile which is triggered when logleven >= debug
Log exception in the Notes PUT service and rethrow any errors