Update sample IME and autofill provider to use the new support lib APIs am: 0c501136ca am: 163ec3ea06

Change-Id: Iaed1b7e222d955ef9a08c0b10f315550c672e224