Fixed cppcheck warnings.

Fixed doxygen warning.
Made argument to Player::isAlly and Player::isEnemy const.
Made some values of GameImpl private.