debian compatibility and variable use

This patch fixes the use of `/etc/init.d/functions` which seems to be not standard across linux distributions. Furthermore the template now uses the global variables instead of the local ones / some functions.
formatting
fallback to hostname
init script for jenkins slave for ubuntu and debian
indent block and set comma
generate plugin_parent_dir
Merge pull request #102 into next
Start some semi-manual test-automation with Blimpy and EC2
Add support for testing on RHEL 6.4 in EC2

RHEL disables sudo without a tty by default, so after standing the machine up,
we need to change the sudoers options. Whoops
Update the version file for duckworth
Merge branch 'master' into next

Pulling in some recent documentation changes
Merge pull request #85 into next

Before the 1.1.0 release, we should find a way to test this code out, but I'm
comfortable saying that this closes #85
make private classes private, dont pass params
Merge pull request #107 from jlambert121/private_classes

make private classes private, dont pass params
Fix dependency issues between repo configuration and package installation
(makes sure repo configuration is finished before installing packages).
Classes containing other classes need to use the anchor pattern to ensure this
(see http://docs.puppetlabs.com/puppet/2.7/reference/lang_containment.html
and http://projects.puppetlabs.com/issues/8040 for details).
Fix grep bug when plugin version specified

 * The jenkins::plugin fact is a comma separated string of plugins. When
   a plugin version is specified, the string to search is:
   'myplugin 1.2.3,'

   However, the last plugin in the jenkins::plugin fact doesn't end with
   a comma. This results in that plugin not being found by grep() and so
   puppet tries to install the plugin on each run.

   Adding a simple regex alternation checking for comma or end-of-string
   (,|$) fixes this.

 * Added test cases.
Merge pull request #109 from mark0n/master

Fix dependency issues between repo setup and package installation
Merge pull request #111 from butlern/fix_plugin_grep_bug

Fix grep bug when plugin version specified
Update to v1.0.1 for some minor fixes
Mock out the `stdlib` class in all cases for RSpec

This fixes a test regression introduced in #109. I believe there is an
underlying issue here where rspec-puppet is not properly loading or respecting
the spec/fixtures/modules directly.

Committing from 37,000ft, no bandwidth to investigate further :(