Created by: jarsi
With the upcoming release of NEST 3 some function calls change a little bit. This PR addresses these changes and guarantees compatibility with both NEST 2 and NEST 3. At the beginning of a simulation it is determined whether NEST 2 or 3 features should be used. Based on this the parts in question are run accordingly.