renamed (IMotion|Scene)::maxTimeIndex to (IMotion|Scene)::duration
fixed compile of pmd namespace and test cases