Adding license to java files.

Change-Id: Idf291b70de9fe2a18fbc3f302a64302e4f214146
Signed-off-by: Alex Fan <railor33@gmail.com>