Contacts: Context menu display incompletely

It isn't dismiss the Popup when rotate screen, and the position
of the Popup in landscape mode is wrong, so it will display
incompletely.

Dismiss the Popup when rotate screen.

CRs-Fixed: 539462

Change-Id: Ia103f63cd1edfbf9510532a4b6c1b6830b324946
Merge "Contacts: Context menu display incompletely" into jb-mr2