Merge pull request #1 from liwenzhu/master

fix bugs about run unittest
changed forward/backward functions to return array of vectors instead of array of arrays
Merge branch 'master' of https://github.com/nathanielhobbs/nodecrf

Conflicts:
	featureGenerator.js
added calculation of expected value and basic gradient, i.e. without regularization
removed indicator functions from feature generator and now return a simpler object
Merge pull request #1 from nathanielhobbs/master

sync to origin