Bundle nested classes and companions together.

Emitted classes are grouped in bundled defined by their
so-called representative class, which is basically
their enclosing top-level class.

Companion modules and implementation classes of traits
are bundled together with their class or trait.
Do not emit code for raw JS types.
Made 'clean' task clean everything.