Fix discrete HM-SVM example
Merge pull request #1317 from iglesias/feature/fix_matrixlist

Fix discrete libshogun HM-SVM example
use $(PYTHON) for running jinja2
use std's isnan/isinf
use isnan from CMath
create some dummy unit test in absence of jinja2
move some inline functions to .cpp
ifdef refcount debug access to fix build failure when refcounting is not available
fix compile error w/ HMM parallel structures enabled
add missing include