[ENH] added getValueForPath for objects

var a = {'a': {'b': {'c': 'prime!'}}}
object.getValueForPath(a, 'a.b.c') // prime!
[ENH] test for object.getValueForPath