Add functions providing the last reset cause, one as an integer (ID), and one as a string. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>