Adopt modern C++11 loops and fix WebArchive creation functions
Created attachment 233316 [details] Patch
Created attachment 233318 [details] Patch
Committed r170113: <http://trac.webkit.org/changeset/170113>