Add tab key handler to term.read

Adding this handler was necessary to allow creation of auto-complete mechanism