Added support for int keys

* Improves `dot_lookup` function to support both dotted string lookup
  or list with keys.  (closes #12)

Signed-off-by: Jiri Kuncar <jiri.kuncar@gmail.com>