bump version to 1.3.1; update release notes
add paulschreiber, jwenerd as contributors
remove trailing whitespace
code style fixes per PHPCS