More of the LWM2M Server Object.

Signed-off-by: David Navarro <david.navarro@intel.com>
Add a new type lwm2m_tlv_t for easier handling of TLV

Signed-off-by: David Navarro <david.navarro@intel.com>
New lwm2m_tlv_serialize() function.

Signed-off-by: David Navarro <david.navarro@intel.com>
Split lwm2m_tlv_t::type in flags and the real type.

Signed-off-by: David Navarro <david.navarro@intel.com>