Icinga 2: Fix action_url, notes_url, notes attribute export.

Refs #2557
Icinga 2: Convert custom vars as runtime custom attributes.

Refs #2557