I suggest to remove calculating limit and offset in foreman controllers based on :page and :per_page.  There is no currently no param[:limit] to pass into Foreman.  A user would page param[:per_page] to limit the # of objects returned in the response.  Thus, I would change the defintion of limit to 
```
* `limit` - number of objects returned as defined by limit parameter
```