Pass License objects, not names

Pass around instances of License rather than names of licenses.

This fixes bug [69103470](https://www.pivotaltracker.com/story/show/69103470) and finishes chore [68658856](https://www.pivotaltracker.com/story/show/68658856).