bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob
bug 941736 - unify sources in extensions/ r=ehsan