adding pagination and sorting to the core functionality
added core function fields so you can pick what fields sunlight returns
added queryObj to the baseObj and changed filter to work with this so that we can do list filters with ease.
added function queryString which takes in a queryObj and turns it into a string to be appended to the end of the uri+apikey.
this.query now holds the result of queryString after call is called.