Revert "update for new android studio + build tools"

This reverts commit 174a96bdb832af518cfc51c9be0b3c7f46a32975.
Revert "fix robolectric tests"

This reverts commit e3af0e46f26aebe33e2c996cdc5c050a309b12e4.
revert gradle version change