Revert "Bug 930104 - Remove localId=0 hack for the system app on firefox and correctly set permission for any app loaded in Firefox r=vingtetun"

This reverts commit 09eb15afda938974376c6e33117ac84c98353bf0.

This was breaking developer workflows as the system app no longer loads after building a clean DEBUG=1 profile.