Merge pull request #67 from opengm/master

update from opengm:master
fix buf in test
Merge branch 'master' of https://github.com/joergkappes/opengm
remove hdf5 dependency
clean up
Merge pull request #267 from joergkappes/master

minor bugfixes