added fixes discovered during tutorial at Percona Live
Merge branch 'master' of https://github.com/dazbur/pl_tutorial