Add parameter for master's port in agent

Hello dear sir,

we're running in an environment which prevents us from running puppet in the standard port 8140. This parameter would allow to use the custom port.
`The masterport setting in puppet.conf. By default this line is not set.`