Modify tab key to work when the cursor is in beginning of a word.

In this case, it will just insert a tab (or spaces if expandtab is on)