'Returns module type as an integer.
note: do pics not support this yet? I can\'t see it in code and get no reply from pic'

def _getModuleType(self):

    p = snap.Packet(self.address, snap.localAddress, 0, 1, [CMD_GETMODULETYPE])
    p.send()
    rep = p.getReply()
    rep.checkReply(2, CMD_GETMODULETYPE)
    data = rep.dataBytes
    return data[1]
