Added nn.ModuleFromCriterion to wrap a called Criterion.

@wojciechz @koraykv
I took an inspiration from Wojciech.
And I provided the support for Criterions inside of a nngraph.
A Criterion is automatically wrapped by a module,
when converting the criterion to a node.

Is this support matching your needs?