Add copyright statements and COPYING.rst.

Also add an encoding statement.

Closes #106.