implement monitoring API in UNIX, simplify code a bit

git-svn-id: https://gnunet.org/svn/gnunet@33758 140774ce-b5e7-0310-ab8b-a85725594a96
-actually perform monitor calls where appropriate

git-svn-id: https://gnunet.org/svn/gnunet@33759 140774ce-b5e7-0310-ab8b-a85725594a96
-updateing tempalte

git-svn-id: https://gnunet.org/svn/gnunet@33760 140774ce-b5e7-0310-ab8b-a85725594a96
-fix regex

git-svn-id: https://gnunet.org/svn/gnunet@33761 140774ce-b5e7-0310-ab8b-a85725594a96