Extend C++ reflection layer constant arrays and fix matrix types.

Correct the naming of the matrix types to use the correct case and
extend support for constant array types.
Add two related tests P_array_cpp and P_matrix_cpp.

Change-Id: Ibceca26b01201fd4d1c85a3921ed2918fc458d59
(cherry picked from commit 32e556eab77ecb21a95f26322e0c68c6b779e555)
8 files changed