Add finder options to Paginator->paginate method

The paginator right now doesn't send $options to any finder, custom or otherwise. This change allows setting 'finderOptions' directly from the controller's paginate array.
Sending all options to finder method from Paginator
Remove autoFields from count method

When autoFields was set to true and count method was triggered, autofields were added to the query and SQL failed due to wrong format.
Add tests for count with autoFields
Sending all options to finder method from Paginator

Add a test for the paginator->find method to persist options.
Merge branch '3.0-paginator_finder_options' of https://github.com/patrickconroy/cakephp into 3.0
Refactor exception handling to return instead of echoing.

By returning a response/string instead of directly echoing we get a few
benefits:

1. We can more easily test the code without relying on ob_start().
2. Application exception handlers can have full control over the
   response headers.
3. We can fix issues related to nested error pages.

Refs #4130
Merge pull request #4401 from antograssiot/3.0

3.0 avoid fatal error by throwing exception
Triggering travis build
Specifying branch to build on travis
Constructing classes in paginator test
Update test to be platform independet
Trying to see if Articles->Tags exists
Forcing the Articles to contain Tags for test passing
Fix whitespace
Merge pull request #4391 from Laykou/patch-1

Remove autoFields from count method
Merge pull request #4402 from cakephp/nested-exception-fix

Refactor exception handling to return instead of echoing.
Update to test for pagination options with custom finders
Whoops, Tables extend Table not Query
Moving ObjectRegistry to the Core namespace as it is a very central concept