Refactor ieee802154

Should not be a big problems since no apps (should?) use this module directly.