Pull Request from Jelle and minor updates
Pull Request changes (Thank you Jelle!):
- Passing the return entity as Entity and not an object (no need to create dummy object)
- Retrieve sort objects via association with XPath object. So you don't have to pass the list
Other updates:
- Increase query attribute size to unlimited for Ben