Checks for code outside class/define block

Code outside class or define blocks should go in different files
according to the puppet guide.
http://docs.puppetlabs.com/guides/style_guide.html#separate-files

Not only that but it can also trigger nasty bugs as mentioned in issue
https://github.com/rodjek/puppet-lint/issues/220