First go at pirateFreighter/Fighter AIs

Fix bug with launching ships with escorts, tidy up functions
New: ship.notifyGroupOfWormhole()
Introduce AI template blocks to compact AI writing even further.
Add pirate interceptor AI, fix some bugs in pirate freighter AI
Bounty hunter leader AI