Get full optimization task working (open PR, etc)

* Add get_task_id to iron_utils
* Pin envy and request versions, and Jinja2 and PyGithub req's
* Bring over the rest of the functions from initial task
* Open pull request
* Record stats