Fix previousOwner bug

Game did lose data of prev owner.
Fix use of abs() for floating point arguments
fix out of bounds tile check
add static Cydonia based on PSX version of XCom

cause why the hell not?
redaction: size is only required commands referencing groups.
add resize map script command.
defaults: don't resize anything unless specified.
fix mem leak
fix up tftd tank draw routines
fix small glitch with built-in melee weapons
add damageType for terrain kersplosions.
fix typos in error checking code in MapBlock

fixes gcc-4.8.3 warning:
src/Ruleset/MapBlock.cpp:52:14: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses]
 if (_size_x & 10 != 0 || _size_y % 10 != 0)
             ^~~~~~~~~
src/Ruleset/MapBlock.cpp:52:14: note: place parentheses around the '!=' expression to silence this warning
 if (_size_x & 10 != 0 || _size_y % 10 != 0)
             ^
               (      )
src/Ruleset/MapBlock.cpp:52:14: note: place parentheses around the & expression to evaluate it first
 if (_size_x & 10 != 0 || _size_y % 10 != 0)
             ^
     (           )
Merge pull request #966 from myk002/fix_mapblock_warnings

fix typo in error checking code in MapBlock
Merge pull request #964 from louisdx/absfix

Fix use of abs() for floating point arguments
minor adjustments to mapscript

fix horrible resizing error, streamline destructor
Merge pull request #958 from Yankes/PreviousOwnerBug

Fix previousOwner bug
fix some warnings
fix firestorm deployment
fix typo
Merge remote-tracking branch 'upstream/master' into 32bit_Surface_Support

Conflicts:
	src/Engine/Surface.cpp