Bug 688667 - refactor automation.py into mozprocess and mozprofile and load via virtualenv. r=jmaher