Bug fix to dark subtract.
* Added add_yaml_entry() method to record image results in yaml file (intended to replace add_summary_entry)
* Added flags property to image class to keep track of whether results exceed thresholds
* Added explicit close to pyplot figures to save memory
* Some variable name changes for consistency
Bug fixes to threshold testing and now uses new flags in HTML table generation