Makefile: update by dmake
Fixed #4237 (False positive: (error) Memory Leak: data (references and pointer aliases))
Fixed various Cppcheck inconclusive warnings
archive: moved <script> from report.cgi. don't output <html> etc from report.cgi because it is inlined in /archive/index.php
archive: use camelCase in js function names