util: Define string->int function
views/error: Optionally print exception message
middleware: Print exception message if DEBUG set

Issue #241.
controllers/record: Show 404 error if no record

Issue #241.
models/record: Test for correct ID number

Issue #241.