Change hashbang to python2.

The code does not work with Python 3.
Fix flash_begin to send the right number of blocks.

Update docs about this and the status flag. Also add opcode 0x0b.