Remove REVISION file and fix configure.ac to work with automake 1.12
Fix multiple warnings