Use more smart pointers
Add COPYING file with list of copyright holders, and the licensing options

License options are:
- lpglv3+
- gplv2 + linking exception
gridglue.cc: only grid1indices_[0] is guaranteed to exist.