Add plugin-template resource

Thanks @bitwit! Closes #544