Bump version to 2.31.0.0

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