Fix test case

Firefox also included "*/*" for accepts header which meant that it
matched everything. Bad example to use for testing!
Add to DAO ability to fetch by ordered fields

And also clean up the interfaces a bit.
Clean up ordering by field

Fix ordering, change default and improve tests.
Cleanup, fix missing import