add addr.__contains__(), speed up copies, and check type/bits assignments
add addr.__contains__(), speed up copies, and check type/bits assignments

wtfbbqhax/libdnet,jncornett/libdnet,wtfbbqhax/libdnet,kbandla/libdnet,jncornett/libdnet,jncornett/libdnet,wtfbbqhax/libdnet,kbandla/libdnet,kbandla/libdnet