fix many repeating gcc warnings (mostly invalid typedefs)
minor cleanup by using the enum-types themselves instead of ints (there are still many occurences not rewritten)
Merge remote-tracking branch 'upstream/master'
fix typos
remove unnecesary typedef in botlib/be_ai_goal.cpp
remove/fix a few invalid typedefs