Fixes for 541
Changed log messages
Changed some minor code
Fixed some test cases
Merge branch 'trunk' of https://github.com/impetus-opensource/Kundera into trunk