Added DocumentComparator from http://in-mood.blogspot.com/

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>