Improved repetition and matchall performance and support

* Used field cache to speed up getting complex field length stored while
indexing
* Limited number of hits retrieved to 10M
* Sequences consisting only of matchall clauses can now be resolved