Added codesniffer rule to detect trailing whitespace

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>