Add scaffold for RBM test environment.
Fix some bugs.
Merge branch 'master' into rbm
Fix includes.
Merge branch 'master' into rbm
Merge branch 'master' into rbm
Set minimum number of batches to 1.
Fix crucial bug.
RBM training works.
Add test case.
Merge branch 'master' into rbm
Merge branch 'master' into rbm
Remove macros.
Add asserts.
Merge branch 'master' into rbm

Conflicts:
	test/test.cpp
LibSVM: Wrong index is written to output stream.
Merge pull request #59 from Ruun/libsvm

LibSVM: Wrong index is written to output stream.
python: Add SigmaPi layer cbindings.
Script downloads octopus code.
Start octopus benchmark with Python script.