Fixed #149.

Stopped using synchronized macro.
Eliminated synchronized macro.
avoid dangling else
Merge pull request #150 from kumagi/master

Avoid dangling else
Comment out unused parameters
Merge pull request #151 from pfi/comment-out-unused-parameter

Comment out unused parameters
Upgraded gtest 1.6.0 to 1.7.0.
Modified for libc++.