Added two regression tests for navfn: one failing, one passing.
Failing test tests for situation from issue #18.
Fixed issue #18.
When oscillation is detected during gradient following, calcPath() falls back on simple grid following.