Add Emacs TAGS (etags) output.

Perhaps a quick hack. But seems to work for me at the moment. Comments most welcome at this stage.