Bug 1052447 - [Messages] when we're in an activity and we delete all mes...

...sages in the thread, we should close the activity r=azasypkin

Conflicts:
	apps/sms/js/thread_ui.js