Bug 902934 Create an nsIXULAppInfo to fix errors in test_attachment_size.js and replace existing instances with use of a generic test module. r=jcranmer,a=bustage fix for CLOSED TREE