Uri loader enhancements

* Add support for `https`
* Add support for URLs requiring authentication
* Update TODOs
Code [re-]organization

* Move configuration logic out of `foundry.rb` into `configurator.rb`
* Update TODOs