update gradle build scripts to be consistent; cleanup AndroidManifest files

It's good practice to declare it anyway, so you could use it as a reference ${applicationId} in manifest entries.