OGM-293 OgmQueryLoader

Based on https://github.com/hibernate/hibernate-ogm/pull/214