Bunch of changes to ensure attack/fade stay within proper limits.

Also circumventing the zero-duration bug by not allowing effects
shorter than 0.1 seconds.
Merge pull request #29 from rbosa/master

Bunch of changes to ensure attack/fade stay within proper limits.