Gemspec update.

Added a line to the gemspec to indicate which license the gem uses.
Spec update

Made the specs around stand alone instantiation a little more
fail-safe.
Readme update

Added another example usage of the gem to the documentation.
Convenient ancestor access added

Added a method for getting arbitrary ancestor elements of elements.
Readme update

Cleaned up a formatting issue in the Readme.
History update

Updating gem history in preparation for v1.3.0 release.
Version bump

Gem version bumped for v1.3.0 release.
Code cleanup

Minor whitespace tweaks.
Refactoring

Replaced some constant usages with variables in order to maintain
flexibility in the spec setups.
Merge branch 'dev'