49870917 Added grouped results by resource type.

Search will can now accept a group_by_type query parameter that will
result in the result entries being placed into a dictionary with entry
lists per resource type by name. For example, all Control entries could
be found by the following path: result['results']['entries']['Control']
which would be a list of Control search result entries.