Bump version number to 0.3.1
Update changelog.
Merge branch 'hotfix/0.3.1'