fixed some bug
and added count query implementation and
set paramater in update clause
Merge branch 'trunk' of github.com:impetus-opensource/Kundera into trunk