Adding Apache license headers.

This fixes #4.