Improve handling of dependencies

1. Mix dependencies can be either two or three element tuples
2. Do not include lingex itself
Merge pull request #1 from yrashk/deps-improvement

Improve handling of dependencies