Added block-oriented network, ReLU activation function and hinge loss

The BlockNet class is based on the earlier SimpleNet class, but has
been designed to better integrate groupwise dropout during training.
The rectified linear activation function was added to those already
available, and the standard svm-like hinge loss was added.

Test files for the new blocky net were also added.