Graduate a few things from the Incubator

This adds the `$(or)` and `$(padding)` template functions, the `$(graphite-output)` template function, and the `riemann()` destination. All were adapted to use new syslog-ng 3.6 features and conventions, so the code is sometimes a little different than in the Incubator.