Update temperature-converter error handling and parsing

this fixes the following issues:

1. on invalid temperature conversion, "0.0 Err" should be printed (currently, a stack trace is shown)
2. the temperature unit should be matched case-insensitively (per the description given in the xhtml)