Update lib/languageserver/diagnostic for rubocop
Update lib/languageserver/diagnostic for rubocop

Previously many ruby files contained many rubocop violations.  This commit
updates the lib/languageserver/diagnostic.rb file and resolves outstanding
violations

jpogran/puppet-vscode,jpogran/puppet-vscode,glennsarti/puppet-vscode