petra: some cleanings + (small) timing optimizations

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16012 3db68df2-c116-0410-a063-a993310a9797
Fix test build.
The parser that extracts the methods to call does not care about defines.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16013 3db68df2-c116-0410-a063-a993310a9797
Specify that my templatesanalyzer tool is distributed under the MIT license. Thanks to leper for noticing that it was currently unspecified.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16014 3db68df2-c116-0410-a063-a993310a9797
fix default ai difficulty when using autostart, was easy since r15990

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16015 3db68df2-c116-0410-a063-a993310a9797
petra: internal functions are now serialized

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16016 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'