NXP-14225: add TODO comments + safer code
NXP-14229: re-enable forcing facelets refresh period to 2 when Nuxeo dev mode is on