MODULES-1384 - idempotency for wsgi_script_aliases

When parsing wsgi_aliases, sort the keys then generate the underlying template.
Merge pull request #936 from mhaskel/MODULES-1384

MODULES-1384 - idempotency for wsgi_script_aliases