Switch license to Apache v2. Fixes #25.