Add some specs.
Add rvmrc ignore rule.
Refactor to concept of DOM reader and writer.
Bump version.