Don’t connect devices/emulator without a Project.

If someone attempts to connect to a device or the emulator while they
have no project selected (most often a new user who has yet to create
a project), provide a dialog box explaining that a project is required
before a connection can be made.

Change-Id: Iff102f8f74f9bd3284c348541969c30889f39b58