Faster image comparison from Yelp, add GHUNIT_DOCS_DIR

This is a manually merge from the yelp fork with faster image comparison and a GHUNIT_DOCS_DIR environment variable