added file and cli flag for retrieving cyclus core and dependency versions

Fixes #578.