Essays On Reputation And Learning In Markets And Networks