Added another spec for the connect support.
Removed useless lines in connect support spec.
Making errormailer work only in production mode.