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.

This partially addresses #37.

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