Add Apache 2.0 License

Open-source library, allowing for oss and commercial use with Apache 2.0
license.
Adds some incidental common development folders to .gitignore