fix fortune query

unless we use an entity-cache (which we aren't allowed) the original
`all()` would do 11 queries per request (one for all ids and one for
each fortune)
Merge pull request #282 from oberhamsi/ringojs-round5

ringojs: fix fortune query