Return a 404 when requesting unavailable curves
Return a 404 when requesting unavailable curves

If curves for a scenario are not available (Merit is not enabled),
return a 404 instead of 200.

Closes #1294

quintel/etengine,quintel/etengine,quintel/etengine,quintel/etengine