change gitignore + commit build.gradle

Had to tweak settings in the build.gradle file to take into account -dontwarn options set for the Retrofit library. This is project-specific enough that it's interesting to commit it.