fix Windows bustage (#291)
include global typedefs and events in template output; don't put "undefined" into typedef headers (#292)
only use master to display Travis CI badge
fix Travis CI image