WebMessage: migrate to exception logging
- Migrates error logging to new exception-based technique. (addresses #580)
- Creates class 'InvenioWebMessageError'.
- Creates function 'tmpl_error()' to display errors.
- Deletes var CFG_WEBMESSAGE_ERROR_MESSAGES.
- Deletes errors and warnings vars whenever it is needed.
- Updates the comments of functions.