Add support for object[expression]

BUG=
R=rafaelw@chromium.org

Review URL: https://codereview.appspot.com/12869045