Use delete-trailing-spaces instead of own function

delete-trailing-spaces works as I expect now.
Improve header template snippet

yasnippet does not work well if first input charcter is '_'.
So I add '_' in snippet