Fix for rare INSTALL_FAILED_INSUFFICIENT_STORAGE bug

This fixes a bug that occurs when one application
update fails to remove the old application package
causing any following update attempt to fail falsely
reporting insufficient storage.

Change-Id: Ib94110bcc82ff092ac630e929fde81136425159e
Memory leak in IInputMethodSessionWrapper executeMessage

In some cases the executeMessage is called with
mInputMethodSession == null. For the messages

DO_UPDATE_SELECTION, DO_APP_PRIVATE_COMMAND

memory is leaked. This commit recycles the args freeing
the allocated memory.
Fix NullpointerException in MediaMetadataRetriever

According to the API documentation and the ICS implementation
the setDataSource(String) method throws an
IllegalArgumentException if path is null. In JB a
NullpointerException is thrown instead. This fix restores
the earlier behaviour.

Change-Id: Ic47baadf91076acc227d92d84f6b8d1d6ecd0c03