Update tern-mode to current master