Support for int keys

* Improves `dot_lookup` function to support both dotted string lookup or list with keys.  (closes #12)

--
@QuentinJi does it work for you?