add settimeout(secs) for ev loops. if not specified, (ev) test timeout is 1 second.
make implementation more generic
guarantee that timer:stop is called once (and not more often)
make loop modularized. add settimeout for ev
Merge pull request #156 from lipp/loop-plugin

Loop plugin