z_db: Remove get_parameter/2, get/2, set/3; add squery

These were functions which dont belong in the z_db module. Besides that,
they were unused.