make sure animation duration is not 0 when figuring out the time
fix typo(?) in colortimelines using color.r instead of slot.r when using alpha
Merge pull request #57 from moitias/luaanimationfixes

Fix a few Lua animation problems