Introduced '--' to flags parsing.

Review: https://reviews.apache.org/r/21384
Added override of Flags::load that updates 'argc' and 'argv'.

Review: https://reviews.apache.org/r/21388
Added task gauges to slave metrics.

Review: https://reviews.apache.org/r/21276