Add copyright statements and COPYING.rst.

Also add an encoding statement.