clenaup DocumentView

renamed `DocumentGroups` as `GrupedDocuments`.
added application switch at grouped.html.