Another approach, a little bit more automatic

This is probably an overkill, but still I wanted to write it for fun.

Inserted licenses have default var computed by python code (eg. year), and can be automatically wrapped in a comment (licence_comment_style setting can be one of "none", "line" and "block").

Feel free to merge if you find this approach more useful.