Added getMapping($class) method

It returns an array which contains (object property -> document property), useful to improve the Reference (for instance to avoid a query when the object ID is loaded (which is part of the reference itself))