Add event and temporal loops.
Merge pull request #122 from skydb/loops

Add temporal loops.