doc update
Implementation of correct castling rules.

King may not castle from, to or through a check situation.
Com update

Creation of MessageConst : message levels, 1, 2... 4 ect.