Fix memory bugs related to the SO framework
Add a couple of minimal libshogun examples to study memory bugs
Merge pull request #1316 from iglesias/feature/fix_matrixlist

Feature/fix matrixlist