images.num column should not be unique across galleries
new test for newImageQuery()
newImageQuery() works
routes now can specify optional HTTP method requirement