Instead of using $scope.command, we work with the inputNode element directly to have control over the caret position. This let us have nick completition in the same way as WeeChat. Fix #74
This reverts commit 6dd35fa890. The commit breaks support for chrome.
6dd35fa890