Fix starred messages - only store message id
Created by: hanssv
This means we dynamically fetch the message before returning it to client in get_profile, etc. Old stars, where full message is stored is handled the same (looking up message from message id).
Some dead code removal as well.