(PUP-1736) Log master and agent locale information

Add a debug message to the master and agent startup routines that prints out
the default locale in use by the Ruby runtime. Also moved the agent version
notice out of the daemon-specific startup routine so that it also prints when
`puppet agent -t` is being used.