added Json methods to Rosenbrock and Rastrigin.
changed serverBackend/demo to choose the proper method.
Merge branch 'master' of git@github.com:NicholasMerrill/Optimizer.git