update version and fix changelog

Updated the version to 3.1.0
Fix the RST format of the changelog
so that it renders correctly.

Change-Id: I620678710bd676e1162b875e99522e93ca7588c4
Merge "update version and fix changelog"