Build system cleanup

Use AM_INIT_AUTOMAKE to set foreign, instead of having it in every
Makefile.am. While there, also add support (and enable it for travis)
for silent rules.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>