fixing unittest build under windows, refs #3

git-svn-id: http://svn.code.sf.net/p/sumo/code/trunk/sumo@16648 29f149b2-0c63-11e1-8f5c-a347f6a9acd0
refactoring and fixing warnings, refs #3, #12

git-svn-id: http://svn.code.sf.net/p/sumo/code/trunk/sumo@16649 29f149b2-0c63-11e1-8f5c-a347f6a9acd0