Added error handling for the directory page and single element page so they at least render the page for the user even if the API is down.
Added error handling for the directory page and single element page so they at least render the page for the user even if the API is down.

stevecochrane/express-web-app-example,stevecochrane/express-web-app-example