add task clone api to C
add task clone api to python
declare `work_queue_file_clone` and `work_queue_file_list_clone` as static functions
Cosmetic changes.
Use xxmalloc() and xxstrdup().
Use correct args for malloc(). Fixes broken build.
Merge pull request #444 from dpandiar/badiclonetask

Clone task feature from Badi.
rmsummary small fixes
Rename rmsummary.*single to rmsummary.*from_str
Use double numbers when clustering
Animate only one cluster division
Create monitoring tools directory.
Tool to cluster resources summaries.

Typical use

./cluster -D /path/to/summaries -Omyclusters -n3

cat myclusters
(show divisions for 1, 2 and 4 clusters, together with their covariance
matrices)

display myclusters.01.png myclusters.02.png

Use -f <fieldlist> to cluster on selected fields (see -h).

Summary list can also be specified with a file (-L) or read from
standard input, if -L and -D are not specified.

Requires gnuplot > 4.6
Compute resources histograms

As with the cluster tool, use -D, -L or standard input to specify the
summary list.

Example use:
find /somedir -name "*.summary" | xargs grep -l -e "^command: SOMECOMMAND" | ./histograms output-dir

Use -s to split summaries according to categories (commands if
categories are not defined).

Generate *.stats per category, with max, min, avg, std dev, and
quantiles. (format that makeflow reads for the resources loop).

Generate histograms (png + html) to inspect outliers).

Requires gnuplot > 4.6