Use ES document types, Fix #503

So I did a two things:

1. Replaced `modelresult` with `appname.modelname`.
2. Because of 1. this allowed me to switch `id` to be an actual numerical id, and not another string (`appname.modelname.id`).  

Because this small, yet indexed, string was replaced by an integer, it had the side effect of altering the results ever so slightly.  In my opinion we're removing a bit of textual cruft and improving the results ever so slightly.  I peeked at the scores to be certain that the changes I made in the tests weren't too drastic.

CCing @robhudson and @willkg as they might be interested in this change.