Cleaned up base.py

* removed old nengo_theano wrapper stuff
* added docs
* added less-global random-state thing for generating weights (should del)
* added rate-mode populations
Fixes galore, test_old_api.py has working test