Fixes for issue #362
Merge branch 'trunk' of github.com:impetus-opensource/Kundera into trunk