New Network based template system

The idea is that all templates will inherit from the base Network class, and override/add whatever functions they need.  Examples are shown in integrator.py and basalganglia.py.