Add a script that processes all icons with optipng

Again, no spectacular results on the icons modRana has - saving about 100 kB on the 800kB of icons in the default theme. Idea: what about running it on map tiles ?
refactoring