Add Apache 2.0 license, fixes #51