Simpler code for makeNumReader()
Refactor cdb_test.go; no dep on fs writes/reads

By provding a very simple io.WriteSeeker-implementation (memFile)
the need to write/read real files in the testing code is gone.

Instead of having one big test function I splitted it into a bunch of
topic-related ones.
Add test for cdb.Get