Allow only a group to be exported.

Implements the request in #84, though I'm unsure if placement as
submenu items are the best UX.
Add test for exporting groups.
Update doc comment to specify optional parameter.
Merge pull request #168 from mminer/export-group

Add ability to export group