Adds ObjectType#getFieldGlobally API.
Comments out setting the database based on type in Query#fromType until I can figure out a better way to do this.