some clean up

- change Endpoint->get() to accept optional params array and optional function path
- change Endpoint->getAll() to accept optional params array
- make all methods in subclassed Endpoints call only get() or getAll() from Endpoint class
- renaming Endpoint methods to be consistent with their param representation in the docs
- updating examples