Add setObject() method

Introduce setObject() method to populate the cache with
the properties of the object. Conceptually, this is the
same as setMany(), but instead of passing in 2 arrays,
allow the passing of a raw object literal.