Material: Share material animation states

Rather than store per-usage context animation states in the variant,
it is better to manage this information separately, with a state for
each usage context (see render/materialcontext.h) at material level.
Merge branch 'master' of github.com:skyjake/Doomsday-Engine