Escape dollar signs in parameter values

Due to the handling of parameter values by rspec-puppet, single-quoted
strings are converted to double-quoted strings before being passed to
Puppet for catalog compilation. When these strings contain dollar signs,
Puppet will consider them variables and try to expand, which produces 
undesired results.
The easiest fix seems to be escaping the dollar signs before passing them
to Puppet.