Fix Info.plist variable replacement.

Now handles braces in addition to parenthesis and passes some more vital
environment variables.

Change-Id: I5f3d6d53a9d464855eff47bc4eedc12f5140bdca
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>