Added event for windows WM_PAINT message
Replaced proposed RepaintEvent with call to FlushImage on windows
Implemented double buffering for WM_PAINT
Merge pull request #27 from iand/master

Support for WM_PAINT in windows