get nodes and layer methods and paginator

Methods on api for getting a layer and nodes.

NodesPaginator allows you to loop through the paginated
results returned by the API easily.
NodesIterator example in README