Make Paginator::createFromEntity() more intelligent

It really shouldn't load all entities when only a subset is requested.
With too large data sets, it will cause an OOM, or a timeout.
Add Paginator::createFromQuery() to create a paginator from an ORM Query
Make Paginator::createFromEntity() more intelligent

It really shouldn't load all entities when only a subset is requested.
With too large data sets, it will cause an OOM, or a timeout.
Add Paginator::createFromQuery() to create a paginator from an ORM Query
Merge branch 'dev-query-pagination' of github.com:LitusProject/Litus into dev-query-pagination