rubocop cleanup and refacor of resource tests.
random newline.
dead code
add some more tests to logstash_config resource.
clean up and improve plugin_config tests.