Changed license from BSD 3-Clause to Apache 2.0

The Apache 2.0 license has more specific trademark protection, and includes a requirement for contributors to license relevant patents. I consider it a better, more specific version of the BSD license.