Fixed walk issue (TestGenericWalk)

The test TestGenericWalk was failing against snmpd on Ubuntu.  This was
caused by the last OID repeating with an EndOfMibView.  Reordered the
walk loop checks so the sanity checks are done after testing for
EndOfMibView.
SNMP SET support for OctetString
tidy SET sanity check