update gradle build scripts to be consistent; cleanup AndroidManifest files

Might be a good point.
However I think it's best to concentrate on AndroidStudio support.
Though, even AndroidStudion don't fully support new build system yet. For example package attribute is no longer needed - it's replaced with applicationId from build.gradle. It's left in place for backward compatibility with Manifest syntax checkers.