Refactored DSA back into decent formating and proper keys.
Refactored DB for adding sqlite.
Implemented sql interface for DB. Fixed delete enc/dec bug.

Functorized Server, Handler, DB interfaces to allow for proper switches.
Changed nonce mechanics, as using pub_key instead of pub_hash seems useless.
Fixed copy/paste bug on enc/dec for delete commands.
Tested sql functionality and it seems to work as expected. TODO: automate...
Need to fix test_database.ml to test functorized functionality.