Add period_within? method to Dinosaur class

This logic belongs in the Dinosaur class. Simplify DinoDex class by using new
method.