Generate requires for dir-shaped osgi bundles

During the package review for eclipse-testng we discovered that auto-requires were not being generated for the "org.testng.eclipse" bundle:

https://bugzilla.redhat.com/show_bug.cgi?id=978587

This is a dir-shaped bundle rather than a jar-shaped bundle. It appears that the osgi.req script was only processing jar-shaped bundles.

This pull request adds functionality so that auto-requires are created for dir-shaped osgi bundles.