Copy snapshot.rb

  Set stage for the grand forking for v2 snapshot code
add json_match matcher

So that we can do argument matching in tests
Make SnapshotClient its own class

Renamed the module Snapshot to Snapshot client
Made that a class
Prep for less mixing in and more composition
move SnapshotClient to its own file
Move matcher to spec_helper

start having a smaller and more conventional spec_helper
Add necessary require's
Move with_env to spec_helper
add snapshotJob
.rspec file
move nats related code to separate file
Make 'rake spec' the default rake task
Add v2 endpoint for listing snapshots
Create an empty snapshot object
CatalogManagerV2 can use auth token from the env

This is useful when running integration tests, as it avoids the need to
run UAA. This won't be used in production code
test fix and logging
Merge branch 'snapshotv2'

Conflicts:
	lib/base/gateway.rb
	lib/base/provisioner.rb