support both NetBeans module projects and other projects

For NetBeans module projects check sources, manifest, layer, etc. For other projects check just sources.
partially reverting my previous changes to keep I18nChecker task backwards compatible
merging with the latest trunk changes