Started visualization code.

- Added vzlog.
- Copied pnet/plot.py from other project.
- Cleaned up train.py file a bit and added visualization.
- Added infoplot functions to some layers.