Clean up deprecations

This should fix the last of the deprecations in this module.

Also here is the ability to set the port through a parameter.
Merge pull request #9 from puppetlabs-operations/deprecations

Clean up deprecations