Python3 compatibility

- Moved module to `flask_images/__init__.py`
- Added `compat.py` for python3 compatibility
- Removed unused import