Bug 812608 - Part 0: API to (re)define nsIXULAppInfo from unit tests; r=rnewman