Various fixes

Fix command line injection. Make number of hours in top.php a parameter
instead of duplicating file. Add config setting for compatibility with
old (< 1.3) RRDtool versions. Move contributed shell scripts to subdir.