Added generic timers + docs on the async loop api

changes

1. removed pcall from the loops, now generically uses coxpcall
1. implemented generic timers
1. updated copas loop to use generic timers
1. added API documentation for the async loop