Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj

--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310