Bump version in package.json.
Performance tweak: Add fast path to escapeAttr

At least in node 0.10 a test is cheaper than constructing a new string with
replace. Since the common case for attributes is that there's nothing to
escape, it makes sense to add a fast path that leaves the string untouched.
Merge pull request #43 from gwicke/master

Performance tweak: Add fast path to escapeAttr
Performance: Parse attribute values in bulk

Profiling showed that parsing time on documents with large attribute values
was dominated by buf2str. This patch addresses this by accumulating attribute
values in a string, and extracting the bulk of the value with regexps to avoid
the conversion to and from char codes.

On a large document with several data attributes
(http://parsoid-lb.eqiad.wikimedia.org/enwiki/Barack_Obama?oldid=608145977)
parse times drop from around 564ms to about 351.
Merge pull request #44 from gwicke/master

Performance: Parse attribute values in bulk
A small improvement to attribute value parsing performance.

Use `getMatchingChars` when parsing unquoted attribute values.
Fix CR handling in optimized attribute handling.

The `scanChars` function preprocesses \r to \n.  When we use the optimized
attribute handling regexp we are bypassing this conversion, so be careful.
Our regexps can't include \r, and don't try to start matching when we're
pointing at a \n, since it could be a \r in disguise.
Performance: parse tag names in bulk.

Use the same technique as in 18128ee7779f4f13db61cf0171fe2404022aff08
to parse tag names.  The performance improvement is likely to due the
fact that we can reuse substrings of the original source string instead
of creating new strings for each tag name.
Clean up `addAttribute` after bulk attribute value parsing patch.
Fix the SIMPLETAG and SIMPLEATTR special cases in the parse; add test cases.

The SIMPLETAG and SIMPLEATTR special-cases were broken (the regexps
would never match) when the code was rewritten not to use the sticky
tag (regex "y" flag) which is in Firefox and ES6 but not yet in other
JS engines.  Rewrite these regular expressions so that they don't
require the sticky flag.

Add a test case which exercises the SIMPLEATTR handling as well as testing
the \r issues fixed in the previous few patches.
Performance: optimize attribute name parsing.

Use the regex technique to improve the speed of addAttribute by removing
calls to buf2str and parsing with aggressive regex lookahead.
Fix Element.isHTML; support non-HTML elements.

The Element#isHTML property was read-only and the overwrite in the
constructor was silently ignored.  Make the property writable so that
it can be set to false for non-HTML elements.

Closes #41.

Amended-by: C. Scott Ananian <cscott@cscott.net>
Release domino 1.0.16.
Bump version in package.json.
Fix SIMPLETAG/SIMPLEATTR fast path.

This regression (caused by 400b989d96d3d0b11482808ab0cccbda98ee3e98)
caused some quoted attributes containing a space then an ampersand or
\r to be incorrectly parsed.  (Malformed) tags with a \r or \n immediately
after a < were also being incorrectly parsed.

Added test case to exercise this code path.

Closes #45.
Create CHANGELOG.md documenting domino release history since 1.0.7.