This commit improves support for submodules within code_style.py. A new function get_submodule_hash retrieves the submodule hash at the time of a commit allowing an appropriate diff to be seen. Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>