Use perl instead of GNU sed; fix spelling error

* Use Perl to replace configuration variables in place instead of GNU sed to
  help some poor souls without a proper GNU installation. This solves
  ticket:1403, thanks to sthen for the report.
* Also fix my previous spelling error: substitue vs. substitute. Again thanks to sthen :)
Merge pull request #148 from mattthias/stable-2.0_fix_for_ticket_1403

Use perl instead of GNU sed; fix spelling error
Fix small typo (misspelled name)
Merge pull request #150 from mattthias/stable-2.0_fix_minor_typo

Fix minor typo in munin-check.pod
plugins/Plugin.pm: log filename in tail_open()

It is helpful to see the detected size of a file in DEBUG mode, but even better
to see which file this size belongs to.
Generate correct RRD filenames for nested graphs. Fixes #1224
p/Pgsql.pm: fix version check on windows

Thx hannibal218bc who reported :

In Pgsql.pm the version of the PostgreSQL server is extrated with a regexp from
executing "version()" (line 519 in current version):

    unless ($v =~ /^PostgreSQL (\d+)\.(\d+)\.(\d+) on/);

The regex does not match the version string that is returned from a Windows
PSQL instance:

    PostgreSQL 9.2.4, compiled by Visual C++ build 1600, 64-bit

I suggest using

    unless ($v =~ /^PostgreSQL (\d+)\.(\d+)\.(\d+)\b/);

Closes: #1434
Merge branch 'fix-1434' into stable-2.0
Fix unreasonable die in iostat_io

If `/proc/diskstats` is unreadable by some reasons, iostat_ios fallbacks to `/proc/partitions` and dies without give a change to read data from it with very weird reason. Better not to say users that their kernel isn't supported, but what feature is required to have such support.
p/http_loadtime: renable autoconf

Fixes the "autoconfig" bug by testing if $target is reachable.

Closes: #1350
Merge branch 'fix-1350' into stable-2.0

Conflicts:
	plugins/node.d/http_loadtime.in
Merge pull request #165 from kxepal/patch-1

Fix unreasonable die in iostat_io plugin for linux
master/Update: atomic write datafile with tmp+ren

As kjetilho noticed on IRC :

    The problem is that if "munin-limits --force" is run outside munin-cron, it
    typically might run while munin-update is writing a new datafile.

    As writing a new datafile takes many seconds, munin-limits only sends OK
    for a subset of the nodes

So now we just use a temporary file, that is updated via a atomic rename().
Note that we should also be able to remove the lock, but let's remain on the
safe side in the stable-2.0 branch.
p/http_loadtime: multi-URL and requisites support

It is backward compatible, as :
- the urls are comma-separated.
- the requisites is off by default
p/http_loadtime: use plugin.sh to escape names
p/http_loadtime: remove default for MUNIN_LIBDIR

MUNIN_LIBDIR is mandatory, the plugin should not provide any default, otherwise
it might fail, or use an incorrect version
p/http_loadtime: fix typo in temp dir var
p/http_loadtime: exit cleanly

"exit 0" should be explicit at the end of the script, to avoid leaking exit
code from the last cmd executed

There is no need to return to the previous directory, if fact it is better to
avoid it. Staying in a temporary directory is way better.
master: fix kill invocation

As Matija Grabnar noticed on the mailing-list:

> Kill with a single parameter doesn't do anything useful

So, this commit fixes that. We use the TERM signal, further test will say if we
do need to revert to the KILL signal.
Merge pull request #193 from steveschnepp/fix-kill

master: fix kill invocation