Use GreD instead CurProcD in getAppIniString() to work around Bug 755724. Fixes #115.

Fix for Issue #115.

I also tested `resource:app`, but didn't help.
`GreD` works with:
  * `Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130212 Firefox/21.0 ID:20130212031120`
  * `Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20130212 Firefox/21.0 ID:20130212031120 CSet: 36525224b14e`

Others not tested yet.