Using Karma and Jasmine for client unit tests.
fixed requirejs config for karma and client app
fix for centre's study add panel.
Better parameters for REST API.
Fixed server tests after modifying REST API.
Fixed REST API on client side.