Rename Java packages (a new dir structure only).

The source code will be changed in the next commit to assist Git in
keeping history of the modified files.
Rename Java packages (change the source code).

Change `package` and `import` directives, and modify other package names
in the source code, XML files, etc. The new directory
structure has already been creared, and `.java` files have been moved in
the previous commit.