Add BSD-style license

Note that this means all the code in this tree is now under this
license.  I am not planning to adjust or add copyright comments in
individual files.

Closes #1.