build: Add basic flags for address santizer

To use:
    ./autogen.sh --enable-asan=yes

(Currently don't have check for gcc > 4.8).

Closes #637
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>