fix tinderbox line parsing (Bug 1023871)

I refactored a bit the way we parse the tinderbox printlines. The number of different cases to take in account was growing too much, so I decided to use regular expressions to try to recognize known patterns representing links. If no pattern is recognized, the resulting artifact will have a 'html' content type. That means that the ui will sanitize its content and show it as html. Downstream application will have to do their own parsing in order to extract structured info out of these artifacts.