Raise KeyError on invalid dynamic_params

In the producer functions, invalid dynamic params should raise an
exception.
Added error callback to all dajaxice calls