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 
Dunno, I just copied (badly apparently - looking at the whitespace) the file from an existing plugin.