added license stuff
added m4 macro thing in configure.ac
added addheader.sh script
added license to all files