Update tern and acorn to latest - fixes a number of bugs.

Modified some of the expected output for unittests as tern was updated to produce arguably better results, particularly for jump-to-def.
Changed the jump to def logic so that it doesn't stomp on all the pending requests, and instead plays nicely with the other request types.