Continental + raisedistance fixes

Changes to these functions in unit.lua:

ShieldIsOn
OnDamage
OnTransportAttach
OnTransportDetach
IsTransportProtected
OnShieldEnabled
OnShieldDisabled
OnShieldHpDepleted
OnShieldEnergyDepleted

Whitespace should be fixed up nicely