Changed generator to use CheckMacroPass.
Fixed ParamStartLoc to be the correct parameter start location.
Added ParamEndLoc to make things clearer.
Merge pull request #303 from tomspilman/macrofix

Fixed Macro Parsing
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
Added reading of dependencies of ELF libraries.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>