Added proper 'tern' autocomplete feature with knowledge of Espruino
added search, better tern dialogs (info/completion)