Ouput listeners and interface changes
- add json file extension type to mime so we don't barf over json files
- Added OutputListener interface and global array so we can notify output listeners of content generation instead of coupling output to files.
- refactor so that Generate now returns io.Reader for more flexible output. Matt Corby 24/01/2018 22:23