Production flag to switch environments, happens automatically when NODE_ENV=production.
Fixes #161

Merge branch 'jacereda-master'
Tests for #50
Fixes #159
Fixed doc for #50
Improved Safari Notification support.