Using service_name to load the defaults file
adding test to check when service name is different

It should ensure /etc/default/docker file matches the service name so
it's loaded properly
Merge pull request #114 from sp-carles-amigo/master

Using service_name to load the defaults file
Moved extra parameters before image in init.d/docker-run.erb
Merge pull request #137 from loadstar81/master

Moved extra parameters before image in init.d/docker-run.erb
[fix] named containers are not removed on restart

this prevents multiple consecutive puppet runs. fixed this by removing
the container on service stop if and only if the container is a named
one.
[enhancement] added script to check for new images

the script connects to docker registry getting the current id of the
supplied image and tag. it compares this id with the id of the currently
installed image + tag. the puppet module has been altered so that the
docker pull command only runs if a new image is available. the pull
command also runs when there is no image with the given tag available in
the registry so that the puppet run has a chance to fail.