Mirror Node type properties into Node.prototype.  (github #14)

Webkit defines document.ELEMENT_NODE, but domino previously defined
only Node.ELEMENT_NODE.  This patch adds the node types to Node.prototype
so that they are inherited by instances of Node and its subclasses.
Merge pull request #15 from cscott/gh-14

Mirror Node type properties into Node.prototype.  (github #14)
Only add newlines after <pre>/<textarea>/<listing> if necessary.

The HTML5 serialization spec at
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#serializing-html-fragments
states that:

"If current node is a pre, textarea, or listing element, and the first
child node of the element, if any, is a Text node **whose character data
has as its first character** a U+000A LINE FEED (LF) character, then
append a U+000A LINE FEED (LF) character."

Currently domino always appends a newline after pre/textarea/listing.
This patch fixes domino to match the WHATWG spec, only adding a newline
where it is necessary to maintain the proper value of the contents.
(Since an initial newline is silently discarded when it follows a
pre/textarea/listing.)

Closes gh #16.
Merge pull request #17 from cscott/gh-16

Only add newlines after <pre>/<textarea>/<listing> if necessary.
Implement HTMLElement.outerHTML.

Using the spec at
http://domparsing.spec.whatwg.org/#outerhtml

Note that Document does not really have outerHTML or innerHTML
properties in the spec; they are added in domino as handy helpers
to get at the serialization of the complete document.
Add test cases for innerHTML and outerHTML properties.
Merge pull request #18 from cscott/outerHTML

outerHTML support.
allow passing a filename to window._run
support jQuery 1.9.x by allowing Element.attributes[qname]
bumped the version number
bumped version to 1.0.9