* common-src/ammessage.c: Change API. Add all messages for amcheck.
* common-src/ammessage.h: Change prototype.
* server-src/amcheck.c, client-src/senddiscover.c: Use new API.
* perl/Amanda/Message.pm: Add message code 2850000.
* perl/Amanda/Rest/Amcheck.pm: Add a message with exit_status of
  amcheck
* installcheck/Amanda_Rest_Amcheck.pl: Fix for new message.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5920 a8d146d6-cc15-0410-8900-af154a0219e0