Handle persistence and quad format in cayley

Here we provide more informative messages to the user for running init on a non-persistent store (now generically defined), separate db.Open and db.Load's concerns and allow specification of quad format.

Also minor cleanups.