Deduplicate cookbook dependencies

:fork_and_knife:

This should fix #442. It adds two migrations:

1. Removes duplicate cookbook dependency records
2. Adds an index to prevent duplicate dependency records

In the future we may want to give `CookbookDependency` the same treatment as `SupportedPlatform`.