Detect if a dependency is specified more than once

And fail if so
Merge pull request #3 from nibalizer/detect_duplicate_dependencies

Detect if a dependency is specified more than once