cherry-picked commit: implemented transformation of parameters for random distributions specifying synaptic weights

Conflicts:
	src/nest/connectors.py
fixed bug
fixed syntax errors in potjans example