KDots core refactoring.

BoardModel owns IRival and IBoardView instances now. Adding space
after if, for, switch etc. #ifdef has been changed to #pragma once.

IPConnect is temporary turned off (some crash was detected).

... and other minor changes.