Updated build tools, gradle, support lib, sdk versions ...

Reformated some of the code