throw nice exception if entity is updated or deleted with null key
fixed potential deadlock in update/updateInTx
refactoring: TestThread and doTx
DaoSessionConcurrentTest refactoring and 3 separate concurrent threads