Copy DOM modules from purescript-angular

Basically unmodified (aside from removing redundant definitions).
This way purescript-angular can use this package and thus combine work.