Merge pull request #7 from vasi/master

Fix make start_fixtures: Update for new, minimal ubuntu 12.04 docker base
Fix before_url_report defaults

In Ruby, an empty string is true, so replacement with the default
before_url was never happening. Ditto with after_url_report.
Better detection of empty diffs

Check if a Diffy::Diff is an empty Enumerable, instead of depending
on the exact HTML output.

The output had changed from <div/> to <div></div>, but we shouldn't
care.
Properly unwrap items in NodeSet

When the 'document' variable is really a NodeSet, instead of a
Node/Document, unwrapping was broken. The element to be unwrapped
might have no parent, so trying to create siblings would not work.

Instead, we detect this case and splice the child nodes into the
NodeSet.
Use HTML instead of XML for parsing

Using XML-mode munges the HTML too much. It stomps on entities,
adds closing tags, does weird things to indentation, etc.

But HTML mode doesn't indent at all. So we use BeautifulSoup in
python to do our indentation, wheeee!
Merge pull request #8 from vasi/dev

Misc fixes from vasi
Fixed failures.txt being empty all the time
Support URIs with http basic auth credentials
Removing accidentally committed raise statement
add vim swap files to .gitignore
UriWrapper should be converted back to string
prettified string has UTF-8 encoding: inform Ruby of it, closes #6
It's OK to not have any sanitization rules, closes #5
sitediff is now a gem, refs #10
make sitediff behave like a gem (minimally tested), refs #10
make sitediff work as gem and in bundle exec, refs #10
allow local files in before and after, refs #10
purge dead code: lib/sitediff/page.rb
remove dependency on python-beautifulsoup, refs #10

  Instead use an XSL transformation,
  see lib/sitediff/util/pretty_print.xsl
more fixups re:unicode, refs #6