LICENSE file and license terms in headers.

This commit closes #1.