Removed unused loss functions.

These are equivalent to standard squared and squared hinge losses but
assume that labels are encoded by 0 / 1 instead of -1 / 1.
Comment abundantly and remove dead code.