fix upgrade.

When you try to upgrade a release, it fails because the application env
can only accept atoms as keys. This fix only pass the alarm module as
key and its config is now given as a proplist.