Get APP_VERSION correctly on ESR31 or later.

The key in registry has been changed since ESR31.
See https://bugzilla.mozilla.org/show_bug.cgi?id=726781
Merge pull request #7 from hiikezoe/ESR

Get APP_VERSION correctly on ESR31 or later.