Updates some gradle files

This will fix some deprecated stuff in our gradle files and add support for material design. Also updates the support library.