Add --with-macosx-app-name configure option that propagates to MACOSX_APP_NAME

Change-Id: I5997669d9e990c302871e08a336a4d8365d5aa13
Use MACOSX_APP_NAME

Change-Id: Id46f2f83ca01a786b93ecce4aa41dea41c45e718