added SchedulerParameters option of max_rpc_cnt

Disables job scheduling when there are too many pending RPCs
Handle invalid SchedulerParameters better

Rather than treat invalid SchedulerParameters options as a fatal
error, print an error and use to the default value.