Added modal dialog to base.html.
Added list of environments to init.
Added a global list of environments generated in __init__ from Kraken's rest service.
modal dialog is now popualted with a list of all environments.
Check table now populates with ecns designated in session['dev_ecns'] and session['rel_ecns']
Made CheckPackageAPI decode _getOldPkgs correctly.