Bug 1064231 - move mobileconnection factory method into dom/mobileconnection.