ieee802.1D: STPTester

Convert STPTester to a module, 
also made some bugfixes in it