Update notification generator

Notification template's parse method is a bit outdated. This is to make it in sync with latest notification class. I also documented that fact that notification initialization requires raw post string.