Update build.gradle

Replace deprecated android plugin with com.android.application, update build tools version and use support libraries revision 20.