Contact indexing

This adds the indexing needed to grab the contacts and also updates the template to use the real data.
"sort" takes a comma separated list of field:direction pairs so you should be able to use something like "title:desc".  The docs are sparse on "size" and I'm not seeing anything to return all results.