HSEARCH-1292 Add rule to checkstyle for checking spaces at the end of lines
HSERCH-1292 Remove spaces at the end of lines
Add license to checkstyle.xml