Mms: Update template activity to Google UI guidelines

Replace floating context menu by contextual action mode.
See http://developer.android.com/guide/topics/ui/menus.html#context-menu

Change-Id: I80bed09427e208ab180b0e7cb3aa1a070507621c
avoid IllegalStateException in MessagingNotification

If columnIndex is -1, c.getLong(columnIndex) makes IllegalStatementException.
So, the columnIndex should be checked -1 or not before using.

Change-Id: Id0dfffa5159d22dc67d56003b999dce80378736e