Added AJAX methods that allow to retrieve image parameters as JSON objects to be used on the client side. Parameters can be either obtained from current session (i.e. current values as set by the user) or as freshly instantiated parameters. Moreover, either a specific parameter can be obtained (by name), or the whole set. The base Parameter class now has a method that allows any Parameter to be serialized to a JSON object.