Portable turret overhaul
Created by: Sprok0
Portable turrets now work using any energy weapon, now or added in the future, instead of using a giant hardcoded list. Previously emagging the turret could change its projectile type, practice lasers and energy guns set to stun would become proper lasers. Instead, now the range of an emagged turret is increased to 12, and it will fire twice instead of once each process. Also went through and cleaned up some stuff, which shouldn't have any noticeable effect.
Fixes #6756 (closed) Fixes #11699 (closed)