Require better_errors only in development

The better_errors gem is not available in other environments so only require it in development mode.