adding mime module from npm
including a simple paginator class

resource implements a paginator and handles paging of data
fix up paging in the paginator.

don't off set the offset...
use request.query to find query string params
and next should assume count - 1. arrays are 0 based.
default dehydration should just return bundle.data