Added compile_to method that with single .compile() can produce multiple target files.

This is my take on issues/568.
What do you think?
I think we should just use "" where this is used instead. Or at least call this 'NONE' or something.