Add feedkeys to more closely simulate user input.

The current type method uses --remote-send which does not respect
mappings. As a workaround, allow access to feedkeys() which does respect
mappings as if typed by a user.