I just attached a draft of the nsIServiceManager.idl here. http://bugzilla.mozilla.org/attachment.cgi?id=51084&action=view
Please review. This is going to cause sweeping changes. I will preserve the old nsIServiceManager under a different interface name.
