Make sure AIs do not disregard a research topic an ally is researching
in fixed alliance no-sharing mode.
Fix skirmish victory conditions in fixed alliance no-sharing mode
Fix off-by-one memory error
Make jsdebug window update globals only on user request. This makes UI
much easier to work with, and prevents massive slowdown when big globals
are continuously updated in display.
Convert functions.txt to handle upgrades from within javascript and research.ini.
hackChangeMe() can no longer take -1, instead add new receiveAllEvents(bool) function
for that purpose. Campaign upgrades are not yet converted. All 'Power' settings in
ini files are changed, since they used meaningless values, to 'PowerLevel' with 0..2
values that correspond to button settings.
Account for the death of function.(cpp|h) and functiondef.h.

Also fix includes.
Update POTFILES.in.
Remove unused data only used in campaign from MP.
Fix typo in rules.js that broke easy and insane AIs
Clean up component definition, remove useless COMP_UNKNOWN and wrong comments.
Update & clean up MSVC project files because of 545832358b570e340e1b9fd0b689b9c9693bcc7d
FiX SoMe FoNt SiZe IsSuEs
Send full droid info instead of bits of droid + reference to template
Upgrades: Fix constructpoints -> constructorpoints
Remove useless template variable
Trim size of template structure
Remove unused weapon upgrade struct
Simplify psDroid->asBits from array of structure with a single field to just an array.
This makes it identical to the template array asParts which does the same thing.
Set correct start values for some buildings broken after upgrades moved to javascript.
Convert templates to ini file format. Thanks to Duha for file conversions.
This closes ticket:4005.