Updated the Brian backend to the 0.8 API

I also tried to update some of the implementation to use more modern Brian features, e.g. the `Synapses` class.