Added compile_to method that with single .compile() can produce multiple target files: object, assembly, bitcode. (issues/568)