Fix bug with selected_token_index inconsistency

The selected_token_index wasn't being updated when a duplicate token was found, causing bug #604 when the selected_token_index was later relied upon for token deletion. Added a line into the select_token method, to update the index every time a token is manually selected.

https://github.com/loopj/jquery-tokeninput/issues/604