Functions should return errors, not ints

* Fixes #10
* Implement result package to store global run exit code
* Functions that generate errors should return them and/or call
* result.Error() to indicate that depman should exit non zero