Adding configurable messageMaxAge

Motivation:
When sending a notification that cannot be delivered, because the
target device it not monitoring, the message can be stored by the
server. This messageMaxAge informs the caller how long, if at all the
server is going to store the message.