Fix a small issue on 32-bit machines.
Add AUTHORS and CONTRIBUTORS files.
Add a CONTRIBUTING.md file.

This is shown when starting a pull request on GitHub, so we can use this to provide some guidance to would-be contributors.