added tests for the optional query interface
fixed seg fault due to double delete in tear down
added file and cli flag for retrieving cyclus core and dependency versions.
Fixes #578.
Merge branch 'optional-tests' of github.com:gidden/cyclus into gidden-optional-tests