Replace HISTORY files for 3.17.1
Populate HISTORY files
Remove trailing spaces
YUI and Loader build for latest Gallery build