Qt 5.4

This updates the build system to use Qt 5.4 as well as two changes from m-thread
to update to the latest QQuickWidgets. This is tested on OSX and Windows.