Fix pep8 style issues in core.text.
Catch the decode exception when calling text.decode, instead of the encode exception.
Merge branch 'master' of https://github.com/kivy/kivy into fix_decode_exception
Merge pull request #1015 from matham/fix_decode_exception

Fix decode exception catching to use the proper exception