Sanitize inputs for bluetooth functions

Also adds a MAC address validation function to salt.utils.