Resolve bugs with dynamic travelshed rendering.

This checkin refactors the animation code, and resolves the bug that
sometimes caused tiles not to render the first time the animated layer
was activated.
Merge pull request #44 from joshmarcus/topic/fix_dynamic_bugs

Resolve bugs with dynamic travelshed rendering.