Updated script 'check_temp.sh' for error messages.

- Error messages at every temperature limit exceeding.
- Error messages always to standard error output.
- Improved internal functions.
Added option -t to scripts 'check_dbs.sh' and 'check_temp.sh' and some improvements.