Ensure consistent results when using limit and offset.

When working with paginated queries, I found the results to be inconsistent.  The items return on a page (e.g. page 2 of results) would be different every time you loaded the page.  This pull request adds a default order by of the primary key column if you do not specify an order by when doing a limit offset query.