Remove device from ContactsFragment when disconnected.

Also changed some variable/class/function names.
Added end-to-end message encryption.