Add support for generating wrappers for files in subdirectories.

Also removed dart files when there are no polymer elements being wrapped.
how about:
```
outputDirSegments.addAll(segments.getRange(2, segments.length - 1)
    .map((s) => s.replaceAll('-', '_'));
```