Merge pull request #5 from SuperJMN/title-for-window

Title property for Window
Moved TestApplication to project root.
Refactored Dispatcher.

To make it easier to implement dispatchers on other platforms. Currently
assuming a single dispatcher per application. Had to copy most of
NGenerics locally just to get a PriorityQueue implementation as it has
no PCL version.
Merge from upstream