fix(install): Put all themes at bottom of plugins list during installation.

Fixes #6530.
chore(install): adds test that theme plugins are positioned last

This test verifies that all plugins whose manifest has the "theme"
category appear last in the list.
Merge pull request #6589 from mrclay/brettp-themes_at_bottom

Put all themes at bottom of plugins list during installation