Refactor class for repository management of 10gen/mongodb repository.
Refactor mongodb server.

Based on the pattern design from puppetlabs modules I
added some new classes to make the  functionality more self-contained
(mongodb::server,  mongodb::install, mongodb::config, mongodb::repo, etc).

Also the major change is the introduction of the mongodb::globals
class which should be used for node/server specific settings,
which could be the same for various mongod instances on the same server.

The main mongodb::server class has similar API than the current mongodb,
with extra parameters to cover new mongod functionality.

New parameters:
 - verbositylevel
 - quotafiles
 - diaglog
 - directoryperdb
 - profile

Furthermore the mongodb class was modified to use the new mongodb::server
class so that the current module users who uses the default parameters
values should be able to upgrade without any changes. More testing
needed.
Added rspec-system and rspec-puppet tests.

Rspec-puppet tests mostly focus on mongodb config file
so some additional tests should be added for extra safety.

System tests cover mongodb server installation with default
mongodb package (EPEL for Redhat osfamily) and  10gen/mongodb
repository. Most standard use cases are covered. Again I recommend
adding some extra tests, after the module is finalised.
Code style change based on apenney comments
Removed unsused variable bindings
Updated the README.md documentation to reflect the new module changes
Fail message changed to clearly state that some parameters are no longer supported
Merge pull request #63 from n1tr0g/1.x

Refactor of the module
Added sleep to system tests for server start time

Added a sleep to one of the system tests to give the Mongo
server enough time to start up. Made port parameters consistent
across classes.
Added sleep to system tests for server start time

Added a sleep to one of the system tests to give the Mongo
server enough time to start up. Made port parameters consistent
across classes.
Merge branch 'system_spec' of github.com:hogepodge/puppetlabs-mongodb into system_spec
Merge branch 'system_spec' of github.com:hogepodge/puppetlabs-mongodb into system_spec
Merge branch 'system_spec' of github.com:hogepodge/puppetlabs-mongodb into system_spec
Merge pull request #67 from hogepodge/system_spec

Added sleep to system tests for server start time
Updated Modulefile and README.md for 0.4.0 release

Updated the Modulefile for a 0.4.0 release. Updated
contributors and deprecation warning for Modulefile.
Merge pull request #68 from puppetlabs/release-0.4.0

Updated Modulefile and README.md for 0.4.0 release
clean some trailing white spaces
doc: fix the “fork” parameter documentation
Merge pull request #69 from goneri/master

minor clean up
Adds feauture "db and user creation".

  * added types and providers:
      mongodb_database
      mongodb_user
  * added db.pp public definition
  * added password hashing function
  * rspec tests for new resources
  * updated README.md

Change-Id: I15bee67da8d45006bf22f56522c93f0bf70cde3d