Fix display of scientific notation

Currently, if you try a conversion that yields a very large value, say, "u 1 lightyear in km", one ends up with an "Invalid escape" exception because the Unicode symbols for &, < and > in the returned HTML entities aren't converted correctly. This pull request fixes that; it also converts the symbols into the more plaintext friendly "x.xx * 10^xx".