Refactor extensions out of common module

Deployment:
* Stop everything
* drush rr
* drush cc all
* Restart stuff

Change-Id: I3e2156c735b58e6b90464e91ec458406da62e6b7