Fix spec tests for Puppet 3.
Allow custom curl options.
Update Rakefile to support vagrant test.