Allow optional strict N-Quad parsing

This puts more of the logic in cayley, but other approaches require that
db knows about quad formats.
Merge {init,open,load}.go into db.go

The functions are too small to justify a single file each. The repl file
is left out as semantically unrelated.