Include snapshot in opts/1
Allow options to all database functions
Add snapshot functions
Include snapshot info in db_info