Made _getPickData more generic by supporting ordening
As such, renamed it to _getData.
Also use a more robust way to represent the filter in case it
contains entities.
Patch by: Sverre Rabbelier
include COPYINGinclude mox_test.pyinclude mox_test_helper.py