Initial import of Percona patches to Galera 3.x.+ null merge from 2.x.