Generalized two-letter ESC sequences

You can now edit vim.js and set enableEscKeymap to true and tweak
any related settings that you see fit and have a two-character
sequence to ESC from insert mode.
Updated with mightyguava's improvements.