Update background.js

Changes to file in order to bring notifications up to rich text and away from the depreciated methods.  Changed formatting to be more consistent.  Modified notification to be capable of displaying more than just mail.  Added some functionality to the notification object in order to accommodate future use.