Make the ship invulnerable by passing 1
import("Game").player:SetInvulnerable(0)
import("Game").player:SetInvulnerable(1)
make Ship:SetInvulnerable take a boolean, not an integer
expand documentation for the Ship:Get/SetInvulnerable methods
move Ship:Get/SetInvulnerable methods out of 'AI Methods' doc section

Move Lua Ship Get/SetInvulnerable method implementations up the file,
so they aren't grouped with AI methods in the documentation.
document the fact that ship invulnerability is not saved
Merge remote-tracking branch 'fluffy/IAmInvincible'
fix inverted early-out test in Ship::AIGetLeadDir

Thanks to @walterar for noticing this bug.
Merge branch 'master' of https://github.com/pioneerspacesim/pioneer into DockedShipSpawn
GetFreeDockingPort must have a ship passed in, assets if it doesn't.
SwapDockedShipsPort gets the ship from the oldPort parameter, must also be valid.
Merge remote-tracking branch 'pioneermaster/master' into sync
auto-commit: translation updates
when attaching a VertexArray to GL, assert that the arrays are not empty
Merge remote-tracking branch 'fluffy/DockedShipSpawn'
Merge remote-tracking branch 'pioneermaster/master' into sync
Merge pull request #219 from ParagonDevelopmentTeam/sync

Sync