convert ansi colour sequences to coloured span tags

Some testing packages (such as goconvey itself) will colour the output with ANSI escape sequences; the web view will display them as, for example, "[32m✔[0m", which gets noisy very quickly. This patch converts them to span tags with colour classes.

This is based on https://github.com/mmalecki/ansispan