Use hydrator capabilities

- Moved pagination logic to DbTable, which allows setting the result set
  prototype, and thus the hydrator
- Added a listener that adds a ClassMethods hydrator to a
  RestfulJsonModel when found as a result in the event.
- Above allowed removing the check for ArrayAccess on an item; we either
  have an array or a Status object at this point.