* first part of changes to make batch operation work correctly * leak fixes * refactoring
* first part of changes to make batch operation work correctly
* leak fixes
* refactoring

pmo-trunk-r767

community-ssu/modest,community-ssu/modest,community-ssu/modest,community-ssu/modest