Convert to rubygem layout

Using a gem instead of manually setting RUBYLIB gives a couple of advantages:
1. The "QA-approved" versions of rspec and friends will be installed automatically
2. The same code can easily be `require`d in whatever projects need it
2. Using a gem allows this code to be easily installed and kept up-to-date on
   both developers' machines and in test systems.
Add module_spec_helper.rb for testing modules using rspec-puppet

The spec_helper for rspec-puppet is one of the most commonly duplicated pieces
of ruby code in module development. Moving it in to this gem means that any
updates to it will be shared across all the modules that use it, saving time
and effort on maintenance.
Add library of common rake tasks

This is a standard set of rake tasks for module development. It includes tasks
for:
* running rspec on the 'spec' directory of a project
* setting up and tearing down the fixtures directory for module testing
* running puppet-lint
* building a module pkg

These tasks are often duplicated across modules. Adding them to this gem allows
the code to be shared.
Add Apache 2.0 license file
Update the README for gem layout, rake tasks, and rspec-puppet helper
Add shim files for compatibility with existing jenkins jobs
Merge pull request #4 from branan/rubygem

Unify spec helpers
Create empty site.pp in spec_prep and remove it in spec_clean

An empty site.pp is required for rspec-puppet to work correctly. Generating it
in the rake task makes it easier to enable spec testing in new modules.
Don't require specific versions of packages in the gem.

Specific versions were added for our QA requirements. Unfortunately, they can
cause some rubygem conflicts on end users' machines. We'll handle the specific
QA versions in our CI scripts and just require more general versions in the
gemspec.
Merge pull request #5 from branan/create_site_pp

Create empty site.pp in spec_prep and remove it in spec_clean
Merge pull request #7 from branan/gem_dependency_versions

Don't require specific versions of packages in the gem.
Add Rakefile to build gem

This rake task allows for a dynamic version to be used when building gems for
the puppetlabs_spec_helper. It includes the gemspec almost verbatim, except for
the version, which is replaced by some `git describe` munging. It also updates
the readme for installation instructions.
Merge pull request #8 from haus/add_rakefile

Add Rakefile to build gem
Create missing spec/fixtures/manifests

$ rake spec_prep
(in /Users/mafalb/puppet/modules/xxx)
rake aborted!
No such file or directory - spec/fixtures/manifests/site.pp

This is happening because spec/fixtures/manifests is not present, so the touch of site.pp is failing.
Merge pull request #9 from mafalb/missing_manifests_dir

Create missing spec/fixtures/manifests
fix broken coverage rake task.

$ rake coverage
(in /Users/mafalb/puppet/modules/mdraid)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S rcov -Ispec:lib --exclude spec ./spec/classes/mdmonitor_off_spec.rb ./spec/classes/mdmonitor_spec.rb ./spec/classes/mdraid_rm_spec.rb ./spec/classes/mdraid_spec.rb
/Library/Ruby/Gems/1.8/gems/puppetlabs_spec_helper-0.1.0/lib/puppetlabs_spec_helper/puppetlabs_spec/matchers.rb:8:in `alias_method': undefined method `should' for module `RSpec::Matchers::BlockAliases' (NameError)
	from /Library/Ruby/Gems/1.8/gems/puppetlabs_spec_helper-0.1.0/lib/puppetlabs_spec_helper/puppetlabs_spec/matchers.rb:8
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from /Library/Ruby/Gems/1.8/gems/puppetlabs_spec_helper-0.1.0/lib/puppetlabs_spec_helper/puppetlabs_spec_helper.rb:12
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from /Library/Ruby/Gems/1.8/gems/puppetlabs_spec_helper-0.1.0/lib/puppetlabs_spec_helper/puppet_spec_helper.rb:1
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from /Library/Ruby/Gems/1.8/gems/puppetlabs_spec_helper-0.1.0/lib/puppetlabs_spec_helper/module_spec_helper.rb:1
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require'
	from ./spec/spec_helper.rb:2
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from ./spec/classes/mdmonitor_off_spec.rb:25
	from /Library/Ruby/Gems/1.8/gems/rcov-1.0.0/bin/rcov:539:in `load'
	from /Library/Ruby/Gems/1.8/gems/rcov-1.0.0/bin/rcov:539
	from /usr/bin/rcov:19:in `load'
	from /usr/bin/rcov:19
rake aborted!
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S rcov -Ispec:lib --exclude spec ./spec/classes/mdmonitor_off_spec.rb ./spec/classes/mdmonitor_spec.rb ./spec/classes/mdraid_rm_spec.rb ./spec/classes/mdraid_spec.rb failed

(See full trace by running task with --trace)
Add support for modules which use hiera-puppet
Call puppet-lint directly
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Merge pull request #12 from pabelanger/puppet-lint

Call puppet-lint directly
Merge pull request #10 from mafalb/coverage

fix broken coverage rake task.