Add disable-icon-update for distcheck / various cleanups

* Add an option to disable updating the icon cache so that it is not left behind and make distcheck complains.
* I cherry-picked a couple of commits from master that are needed for 1.6 branch
* remove autogenerated doc files
* Remove m4 and ltmain.sh, they are brought in by autofoo