A few tests for various Incubator modules

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

This partially addresses #37.

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