graphite: don't use TFSimpleFunc, it's never really used

The $(graphite-output) function is not a simple-func, so don't pretend
it is.

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
graphite: fix canonical plugin name

This should match the name of the plugin, which is "graphite".

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
templates: rename user-template-function to user-function and add separate header

This patch omits "template" from the module name, as it's redundant anyway. Also, it
adds a separate header file for this module, as a separation of the lib/template split.

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
templates: split off macro related functions into a separate module

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
templates: split off the TFSimpleFunction into a separate module

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
templates: split off template function representation into a separate module

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
templates: split off compiled template representation into a separate module

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
templates: split off template compiler into a separate module

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
templates: move remaining unit tests from /tests/unit

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
templates: remove unneeded headers from templates.c

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
templates: split output escaping implementation to a separate module

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
Merge pull request #223 from balabit/f/lib-template-split

F/lib template split