Add playlist and crate track counts and durations in the library sidebar.

Fixes Bug #991938 and Bug #1014951.