Add CLI and Python client support for MAC address masking.

Also add regex validation for MAC addresses.

Signed-off-by: Brandon Berg <bberg@midokura.jp>