Switch license to BSD throughout codebase. See #288.