Initial import of Percona patches to Galera 2.x.
Merge pull request #1 from akopytov/2.x

Initial import of Percona patches to Galera 2.x.