Copy DOM modules from purescript-angular

Basically unmodified (aside from removing redundant definitions) from https://github.com/purescript-contrib/purescript-angular/tree/master/src/DOM.  This way purescript-angular could use this package, so DOM bindings can be unified and worked on in one place.