Revamped the generate_timeline script: new modes !

The unused_memory and unused_cores modes have been merged into memory and
cores. There is a new mode (pending_time) to see the average time spent
pending by the workers.
Finally, the data can either be binned by analysis (default) or by resource
class
Unspecialized workers have their own category