Added dota.setUnitControllableByPlayer
Fixed msvc2012 typo. Added proper old entity handling. Added OnEntityDestroyed.