Update hscommon
Make the app run under Qt with the updated hscommon

I expected more work...

Cocoa to come.
Add build bootstrap script
Fix OS X build
Add --arch-pkg option to package.py