Added support for limiting the rate of resize events

Added a new public property to set how long to wait since the last resize event is finish processing. And and ability to disable if you have a trivial onResize and set the default to 50 ms. It may need tweaking. I will get back to you what I end up using for my final game.