Added module function 'interrupt()'.

* Modules listening on file descriptors don't get updated, they get
  interrupted now.
  => Allows modules that do both periodical updates and event based
     updates (such as the network module).
Exported network as a module.