Added license headers to `py` files in `doc` directory.
Added license headers to `py` files in `sample-plugins` directory.