Fixes #818: Refactored TrxHandle construction and management.
1. TrxHandle objects are placement-constructed in preallocated buffers from memory pools.
2. There are two distinct memory pools for master and slave handles as they differ in size.
3. Master TrxHandle appends WriteSetOut object placement-constructed directly next to the main TrxHandle object.
This is supposed to reduce dynamic allocator contention, generally make TrxHandle construction cheaper, and improve WriteSetOut management, and most importanly get rid of abominable TrxHandleWithStore hack.


git-svn-id: https://devel.codership.com/svn/galera/branches/3.x@3539 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #852: make sure we don't redefine symbols which are already defined.


git-svn-id: https://devel.codership.com/svn/galera/branches/2.x@3540 9148e567-b586-4176-b9b8-4e36cb4ec61b
Fixes #852: merged the fix from 2.x

git-svn-id: https://devel.codership.com/svn/galera/branches/3.x@3541 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #808:merge to 3.x

git-svn-id: https://devel.codership.com/svn/galera/branches/3.x@3542 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #845: updated copyright notices to year 2014

git-svn-id: https://devel.codership.com/svn/galera/branches/3.x@3543 9148e567-b586-4176-b9b8-4e36cb4ec61b
Refs #808: small refactoring and duplicate code elimination

git-svn-id: https://devel.codership.com/svn/galera/branches/3.x@3544 9148e567-b586-4176-b9b8-4e36cb4ec61b
Added .gitignore. Made gcache_rb_test cleanup after itself.