add --endpoint-template and --parameters-template to doc command

These options might be useful for extending.

Many parameters are passed to `views/endpoint.erb` so we can extend its output flexibly without adding changes to prmd.