RavenDB-1251 - Custom range types should be sortable

This fixes issue RavenDB-1251.  Range types should come from document conventions, not a hardcoded list.