Fix nested parcelable class name

This fixes nested parcelable name by replacing "." with "::", where "::"
is the C++ style of referring to an inner class.

This also adds unit tests to verify this change.

Bug: 31830013
Change-Id: Ib1cbc9a775d7ae87089bffc04170b90f7af1b1a5
Test: compile, manual test, unit tests
4 files changed