added a parameters class to avoid code duplication

provides:
setParameter, getParameter, virtual onNetworkParametersChanged and setNetworkParameters
Merge branch 'master' into matrix
make use of Parameters class in NeuronLinkMatrix and NeuronMatrix