Bug 853939 - Assert that we only ever call the finalizer on tenured objects; r=billm

--HG--
extra : rebase_source : 67721f2ee0575348d70b74a72e17bedb6c39a0b4
Bug 813736 - Enable installPackage api on Android. r=wesj,fabrice