Fix public api when querying with no filter
add test for the case
Merge pull request #108 from owncloud/FixEmptyFilter

Fix public query with empty filter