Updated epaper code:
- Removed PWM bug which prevented use of 2.7" displays.
- Added 4-stage image inversion support