Fix 'rhizomeops' test case

Was broken by 919455608f33b6a66a4d38dc5b3abf4f83ff52ac
Issue #69: refactor all Rhizome SQL queries to use binding

Remove all uses of sprintf(3) and its ilk to form SQL query commands.
Use the new sqlite_bind() and sqlite_prepare_bind() functions instead.