Better plugin bake

Instead of rendering a fixed list of files, allow the use of themes to specify the contents of a plugin.

Ref #2 
missing space after while