Added combat and unloading.
 * Combat takes place and ammo is used for the primary weapon.
 * Added "mixc" command that allows mixing a cell in a sprite intead of replacing it
 * Fixed some bugs in legacy code ported from prototype
 * Got rid of "properties" array in json. Instead using booleans for flags.