Fix debugmalloc.
Add gitignore for sources
Add missing m4 libraries.
Update travis build script.