Make wx.lib.masked Python 3 compatible

This pull request includes commits that make wx.lib.masked package fully Python 3 compatible.