remove calls to Sage dirichlet characters

these were very slow

+ add jinja loopcontrol to allow easy truncation of large data from template
Merge branch 'master' into remove-sage-character-calls
Merge pull request #154 from pascalmolin/remove-sage-character-calls

Remove sage character calls and enable jinja2/loopcontrol