bug 895693 - fix, add sdk/notifications options

first commit fixes validation of existing options: title, text and iconURL.
second one adds new options available since Fx22: tag, dir and lang.

both come with appropriate tests.