Paginator factory in dbmapper

@snapshotpl 

Readability could be greatly improved, e.g.

```php
return new HydratingResultSet(
    $hydrator ?: $this->getHydrator(),
    $entityPrototype ?: $this->getEntityPrototype()
);
```