CBSE-1444:[ale] added ale:capture_logging_diagnostics/0

Which returns proplist describing all configured loggers and sinks.

Change-Id: Iec53d5e687576f251abd2105cd346ad3564df877
Reviewed-on: http://review.couchbase.org/42223
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
CBSE-1444: added logging diagnostics to /diag

This commit also implements /diag/ale endpoints that returns json
representation of logging state.

Change-Id: I4192252ed2218a0e8b1bbc70bb90b234c39b5a37
Reviewed-on: http://review.couchbase.org/42216
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>