Fix non-capitalized final part bug

Fix issue where if the final piece of the import string wasn't capitalized, only one string would appear in the final RST. Which is fine as far as Java is concerned, but the sphinx RST compiler isn't happy about it.

For example, the following line of Java:

    import package_a.package_b.package_c.lowercase_type_t;

would create the following RST:

    .. java:import:: package_a.package_b.package_c.lowercase_type_t;

causing the following error:

    ERROR: Error in "java:import" directive:
    2 argument(s) required, 1 supplied.

This change appends the final piece as a class part, resulting in the following RST:

    .. java:import:: package_a.package_b.package_c.lowercase_type_t lowercase_type_t;