fix DqlSelection::where with empty array

now the DQL was not parseable
Dao select supports indexBy
Merge pull request #17 from juzna/inp1

2 improvements