#6101: Add advagg to makefile.
#6101: Export variables.
#6101: Update hook.
#6236: Fix version in makefile.
Update secure-pages var so that production settings are not overwritten when this revert happens.
Merge pull request #6237 from openscholar/6236-minify

Add module and variable exports to minify js