Ensure that generating helptags won't dirty repo

Also added java snippets to snipmate