Add a number of useful features

A few simple patches adding features needed locally:

- Option to specify regexes to ignore
- Fix to not match strings containing only numbers
- Accept django tags inside HTML attributes
- Allow a {# notrans #} comment to indicate something doesn't need translating.

You may accept either wholesale or cherry-pick, as you see fit.