Reorganize nonlinearities

Users don't (and never really did) make PythonFunction classes; that's more an implementation detail of how directmode works, so I moved PythonFunction to builder. With that, nonlinearities.py only contains Neuron subclasses, so I renamed it to neurons.py.