Implemented GetToBracket intention action.

Converts foo.get(...) to foo[...].