Move gem_publisher require inside rake task.

gem_publisher does not support ruby 1.8.  This was causing the matrix
builds to fail in travis[1].  Moving this require inside the rake task
should prevent it being loaded until we actually try to publish the gem,
which in turn should allow the matrix builds to complete.

[1] https://travis-ci.org/gds-operations/puppet-syntax/builds/36201727