Added sudo code for testSaveOrUpdate
CUT - testSaveOrUpdated is not working correctly. I need to figure out the behavior of hibernats saveOrUpdate().
- Added catch for exception in saveOrUpdateAll.
- Other small changes.
- Made setId protected.
- Changed equals so that objects with a null id never equal anything.
- Added saveOrUpdateAll.