Updated examples

- Wrapped the promises "execution" with EM.run
- For the sync examples: added require 'fiber' and removed the class MyError from rescue