Some changes to the new Dao code
Some more changes for Dao<T>, InstancedItemDao and ItemDao