Re-structure clang-rename into a library and the tool.

This allows the unit tests to link the library.

Patch by Xin Huang.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@219609 91177308-0d34-0410-b5e6-96231b3b80d8
[clang-tidy] misc-braces-around-statements.ShortStatementLines option

Add option ShortStatementLines to trigger this check only if the statement spans
over at least a given number of lines.

Modifications from the original patch:
  merged test/clang-tidy/misc-braces-around-statements-always.cpp into
  test/clang-tidy/misc-braces-around-statements.cpp and removed unnecessary
  CHECK-NOTs from the tests.

http://reviews.llvm.org/D5642

Patch by Marek Kurdej!



git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@219611 91177308-0d34-0410-b5e6-96231b3b80d8