Throws 404 when procedure does not exist

This commit makes the REST service throw a 404 when the client asks
for timeMeasurements of a procedure that does not exist.
Merge github.com:steria/log-parser