Update Drupal core to 7.31

Change-Id: Ibeee09b6bbd7018089b8a0ef8c4b77f14cd618af
Test upgrades from version 2.17.