Customized listing example.

This PR adds some minor changes to `RestfulEntityBase` to be able to alter the EFQ to allow customized listing.

I also added a customized listing example and some tests to it. I think that there's value in having an example that may be used as _documentation_ on how to alter a listing of entities.