template: added common-template-typedefs.h to lib/template/Makefile.am

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
Merge pull request #348 from lbudai/f/fix-template-compile-error

template: added common-template-typedefs.h to lib/template/Makefile.am
travis: run 'make distcheck' instead of 'make check'

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>