implementing support for the depthHint in Session::getNode

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | ->travis
| Fixed tickets | -
| License       | MIT
| Doc PR        | -