Add QWORD support and fix up TLVs

This PR contains code which implements QWORD support for TLV types and updates the TLVs to use the QWORD type where appropriate so that it matches that within MSF.