Add support for custom patterns

I had a different escape pattern to work with and thought I might contribute this functionality back.

Usage looks like:

```js
ansi_up.ansi_to_html(element, 
  {
    use_classes: true,
    pattern: /\^\[/
  })
```