After some much-needed upgrades and a full series of tests, one of the U.S. Navy's most capable subs is now back in service. Here's what happened.