example proposal for html5 notification.

So this is a first draft of how could work notification system. 

I'm wondering if we should leave the user permission in the constructor or make a separate method for it?

Thanks in advance for your feedback.