Merge pull request #12 from norzechowicz/fix

Fixed DoctrineResult when Paginator is empty
Added behavior for results_per_page parameter in request.
Refactore results_per_page paramter to max_results
Added tests
Merge pull request #13 from norzechowicz/results

Added behavior for max_results parameter in request.
Fixed DoctrineResult behavior when paginator contains different data than array of objects.