lua: Added Message.get_timestamp(msg)

With this, you can directly query the message's
unix timestamp in integer format, without formatting it with
a macro and converting it back to number.