LMNN implementation based on auxiliary methods hidden in an implementation class.
A few unit tests for LMNN
Merge pull request #1270 from iglesias/feature/lmnn

LMNN implementation and a couple of unit tests