Implements mongodb sharding

The following commits implement the changes necessary
for the puppetlabs/mongodb module to allow one to automate
the sharding configuration.
If the user specifies the port then it will be ignored. Should be $port_real = $port.