Initial import of Percona patches to Galera 2.x.