Database dao improvements

* Support queries using OR connected filteritems on subentities (Both in getTotal and getDataByFilter)
* Give hints when Introspection in getAllFields failed due to possibly not following the Java-Beans specification

TODO both getTotal and getDataByFilter are way to big and have copied code all over. They need to be refactored.