Rule for PackageObjectClasses

Warnings for the issue presented in SI-4344:
https://issues.scala-lang.org/browse/SI-4344
Merge pull request #16 from Lewix/packageobjectclasses

Rule for PackageObjectClasses
Changed ScopingRule to deal with scala scopes and extended optimizing
macro to ClassDef and ModuleDef