Bug 960544 - Always export rooting APIs and stop linking unit tests against JS library r=glandium