py: Add option to compiler to specify default code emitter.

Also add command line option to unix port to select emitter.