Move to gradle 3.0, tools 2.2-beta1 am: f77697dd90
am: c6b27565ef

Change-Id: I08b28c3e33d5a484770f769d25a779bb269e82ba