Added a getFromKeyNameOr404 to base.Logic
This also fixes a bug introduced in r2437 where this method was used
although it didn't exist yet.
Patch by: Sverre Rabbelier
<html><head><title>We ran out of time</title></head><body>We ran out of processing time while serving your request, please try again.</body></html>