upgraded gradle to 1.9 and android studio to 0.4.0 accordingly. changed build and gradle files to reflect the update