Add check for tests to travis.yml generation so generation does not occur if plugin has no tests.
Fix YAML indentation error in generate:travis-yml command.