some feedback from william

Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
comment doc fix
change TOP_DIR; make test.conf.in ; add to all tests
remove debug printf
put test databases in test/databases
adapt tests and code to use configurator
tidy up
tidy up II