TAB-completion in IPyhton-shell fixed

Cursor must be at the end of completed word, not at
it's beginning