Refs #4739, moving screenshot testing lib to core.