Add gradient checks for infogain loss layer, letting it take the
infogain matrix as the third bottom blob.
Merge pull request #793 from jeffdonahue/infogain-test

Add gradient checks for InfogainLossLayer