Add compiler flags to permit/disallow remote raw writes.

With this commit, raw writes to the Bluetooth or network are not allowed
by default. USB writes are still allowed, but can be disabled by setting
the USB_ALLOW_RAW_WRITE flag to 0.

Fixed #178.