Fixed double free'ing in tests
Renamed preferences setup and teardown test functions
Moved error handling logic to server_events
Disable OTR support by default until 4.0.0 is supported.

enable with: ./configure --enable-otr
Merge branch 'master' into gmail

Conflicts:
	src/server_events.h