Add dockerfile vim support
Update ruby snippets
Add StripTrailingWhitespace() function