Update .gitignore.
Add a section for jobs.
Bug fix and some style fixes.
message: Standardize docs. Remove dead code. Make comput_*_id a stati… …c method. Also change the use of compute_*_id method in Messenger.