Implemented empty namespace issue.

Proposes deleting namespaces that contain no namespace declarations, no type declarations and no delegate declarations.
See test cases for examples.