api/v3 Adding pagination functionality for supporting endpoints

If users want to be able to browse through the history available in
PuppetDB without crashing the server/client with too much information
adding attributes 'order_by', 'limit' and 'offset' to the following
functions:

nodes
facts
resources
reports
events
event_counts