Local install support, new gradle plugin support, new L preview SDK support

I had to add tools:node="replace" to support apps built against L preview, switched to maven gradle so "gradle install" works and installs in local maven repo. Switched to version 1.0.9 to avoid conflicts, fixed an issue in @razvanws (this.context reference).