Made some changes to build.gradle configuration scripts
so project compiles with Android Studio 1.0 and both
newer gradle wrapper plugin and newer gradle it self.
Added idea and gradle directories to gitignore