Update ignore patterns
Update gradle build files
Got gradle to build

* moved files around to follow the default gradle tree
* fixed some minor lint and xml issues preventing compilation