Merge pull request #1708 from iglesias/feature/lmnn

Link LMNN notebook to author's GitHub and GSoC project URL
Removed non-const getter of energies in CFactor
Fixed malsar unit test. Closes #1630
fix notebooks to have the first markdown section == abstract
Add ipython notebook template