add support for Ev extension (libev)

Brought https://github.com/reactphp/react/pull/178 inline with current branch.  Fixed unit tests.  added additional unit test for periodic timer.
Hah sorry, I mean the contents of the phpdoc block :-)
See `Add timer object as`, `[description]` and `type`.