Spruced up build files

This will allow the project to build on the latest Android Studio.

Also got rid of files which shouldn't have been tracked in git (based on .gitignore).