Add dom/create

Fixes #18.

The arguments (optional attributes object followed by variadic content arguments) are kind of confusing at first, but I think it is the simplest that can be done. This helper function greatly reduces boilerplate code (`setAttribute`, `append`, etc.) when creating DOM nodes.