Bump version to 2.31.0.0

This is based on Chromium 31.0.1650.11.
Build fixes based on patches by Caio Marcelo.