Fix for Mantis 2846: Problems with mission loop animations

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9661 387891d4-d844-0410-90c0-e4c51a9137d3
Fix for mantis 2802: when restoring last missions loadout, ignore weapons on absent ships
Also clear ship weapons & weapon-counts when clearing loadout slots

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9662 387891d4-d844-0410-90c0-e4c51a9137d3
Revert "Fix for mantis 2802: when restoring last missions loadout, ignore weapons on absent ships"
Wrong patch you git!

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9663 387891d4-d844-0410-90c0-e4c51a9137d3
Fix for mantis 2855: fix off-by-one, add negative index check, empty invalid slots & enable mprintfs

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