added tests for online and offline backups
fixed todo/skip in query tests
fixed --dir on cqctl command line