Implement Gem#state and Gemfile#dependency_states (rev 2)

Infers state of gem and gems in gemfile from various targets
in distgit/koji build process.

Revised to incorporate alternate workflow. A little less efficient
(for example distgit repo/branch will always be checked even
 if build exists but doesn't match) but code is alot cleaner

Manually verified, specs still TBD