Allow executing Python commands instead of only evaluating expressions

Also prints an exception if any was raised
Support mbed, connected to Mac

On Linux, ports are named ttyAMC*, but on Mac they're named cu.usbmodem*
Add downloading compiled code to mbed

For testing purposes, one can issue .compileOnly('test.txt') to get the
code and size dump.