update registration on step if needed

This is a WIP for discussion: the idea is to do registration & registration update (on expiry) automatically on the lwm2m_step

This would be a first step  for automatically triggering a bootstrap.