Also refactored the xpcom standalone glue to reside in a single file and removed its use of realpath().