Add callback function to allow resize messages to be sent on mac.
Add resize example, fix warnings, make callback an option so it can be removed.
Add experimental attribute since this API will need to be cleaned up.
Merge pull request #160 from glennw/mac-resize

Add callback function to allow resize messages to be sent on mac.