Revise secondsToImpact computation

This computation accounts for oceans by selecting the smaller of ASL or true altitude when mainBody has oceans and ASL is positive (to account for submarines).  It also uses the vertical component of vessel acceleration when the vessel is moving down and the acceleration is downward.  The latter provides a tidy way to handle powered descents and parachutes.