importer: Root misc functions
importer: Root misc functions

This uses rooting for everything else in importer.cpp that would cause a
compile error in mozjs31.

https://bugzilla.gnome.org/show_bug.cgi?id=742249

endlessm/gjs,endlessm/gjs,endlessm/gjs,endlessm/gjs,endlessm/gjs