Implemented title bar buttons and notifications.

It is now possible to add extra buttons next to the minimize/maximize/close buttons in the title bar. Notifications have also been added, which uses this to present a notification button. The package manager now reports new available updates using this notification system.