Monitors

This is first attempt at automatic validation routine creation. I sidestepped the issue of selecting proper variables for monitoring - since the tagged theano variables carry the information on how to aggregate them, the minimal validator needs just the list of variables. Selection should be handled elsewhere.

My idea is that such a validator would be run in the training loop via a hook. Another function would save somewhere or print the computed values.
We don't know how to average over examples unless we add some heuristic about how many examples there are in a batch and this tends to differ (normal nets - 0th dimension, recurrent nets - 1st dim).