Added Declaration.IsExplicitlyGenerated.
Fixed CheckStaticClass to promote protected members to private (as protected is not allowed in static classes).
Fixed a couple of places where privates that need to be generated were being filtered.
Added test for static protected methods/properties.
Fixed comment.
Merge pull request #304 from tomspilman/static2

Alternate Static Protected Fix