fixed issue when plugin name, plugin instance, type name, type instance
contains characters such as < > etc
swapped rrd files scan function.
this will be much faster and cleaner
fixed issue with regexp matching.
Merge branch 'urlcode'
Merge branch 'dirscan'

Conflicts:
	inc/collectd.inc.php