Corrected .gitignore

Signed-off-by: Ilya Mikhaltsou <morpheby@gmail.com>
Some more crossplatform corrections

Signed-off-by: Ilya Mikhaltsou <morpheby@gmail.com>
Added dummy windows CommHandler, separated platform-dependant code

Signed-off-by: Ilya Mikhaltsou <morpheby@gmail.com>
Corrected MAKE_DEBUG_STRING

Signed-off-by: Ilya Mikhaltsou <morpheby@gmail.com>
Reworked exceptions a bit

Also some more platform-compatibility stuff

Signed-off-by: Ilya Mikhaltsou <morpheby@gmail.com>