lib/common.js: #fix MAC regexing (lowercased!)
lib/common.js: MAC regexing: isValidMac()
#cleanup
lib/register: use tool.isValidMac() and tool.normalize(mac)