METAREST-2 Added ResourceClassAwareInterface so that resource class is only injected into criteria parsers that need it; plus the object registry can be centrally located in the criteria factory now