Initial error handling in Rails - log errors

Rails process should not crash if an error occurs. Log error if it occurs. Showing errors to the user is not a concern.

See comment below for more TODOs and background info.

Edited by Chad Woolley