Add python 3 compatibility to Flask-Plugins

This PR adds Python 3 compatibility as requested by @ll13j1209 in #7