Port r9701 from zookeeper branch to trunk: Added a Lua function to check whether a ship is warp-capable.

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9775 387891d4-d844-0410-90c0-e4c51a9137d3