A few tests for the Incubator template functions

This adds a basic test suite (based on BATS), and some trivial tests for
basicfuncs+, getent and graphite-output template functions.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>