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

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