Initial import of Percona patches to Galera 2.x.
Null merge from 2.x.