Moved fdb to fdb_core and added transaction_commit and transaction_clear

Up next is writing a high-level wrapper in the fdb namespace.