image meta + edit support
prettier forms and image ack kinda working
gallery: image publish ack implemented; only view access control is missing
Added Query type synonym for DB queries to Foundation