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.
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
Merge pull request #186 from steveschnepp/atomic-datafile-updates

master/update: atomic write datafile with tmp+ren
Merge remote branch 'pull/162' into stable-2.0

Closes: #1224
master/graph: fix gfx error when plugin is too old

When a plugin is not updated, its last update might be older than the
start date of the displayed graph. Then the graph cannot be generated
anymore.

This commit generates the graph. It will be empty and will display the
last update date.

Closes: #1358
Merge remote branch 'origin/stable-2.0' into stable-2.0
Merge branch 'fix-1358' into stable-2.0