Set timeout for DetectImageTypeFromReader()
Set timeout for DetectImageTypeFromReader()

When used in a goroutine on heavy traffic, DetectImageTypeFromReader() caused high CPU usage and load.

rubenfonseca/fastimage