Implement autoreverse and repeatCount functionality
Added a repeatForever property and a bounds check on repeatCount to try to prevent unexpected integer overflow behavior.
Merge pull request #105 from codeman9/autoreverse

Implement autoreverse and repeatCount functionality