Ran clang-modernize on root, fixed many warnings generated by clang-3.4