Added a test programme for inotify.

* Somehow fails to detect modifications beyond the first one.
  => worked without select(), so I can't see the reason why it shouldn't now.
* Updated netmon.c to accept user input to properly close application.