fix no longer existing latex function calls

Conflicts:
	lmfdb/lib/grossencharacter.gp
Merge branch 'master' of https://github.com/LMFDB/lmfdb
fix kloosterman test
large table of contents for discussion
added representations
Merge pull request #151 from pascalmolin/master

fix dirichlet tests
Merge pull request #153 from davidfarmer/toc1a

mockup for new menu entries on front page
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
Changed q-series description to a knowl, and added missing properties to a HMF page
Merge pull request #155 from swisherh/master

LGTM
Fix error checking on sign field for hgm search
Fix import_hgm script for individual hypergeometric motives
Fixing motive/family distinctions in hgm search page
In hgm searches, the A, B, A2,... vectors should be sorted for the user