Rewrite backend sources and metrics handling.

 * Move RRD-specific fields to RRD backend.
 * Add channel for sources and metrics registration.
Fix metric display name rewrite.
Rewrite origin filtering.

 * Add target support in filtering.
 * Add source filtering.
 * Fix broken discard.