Simplify Leaf and its sub-classes.

Change-Id: I711db26bedee2bebdd39ffd8b637fa8918c16ff9
Fix LeafContainer

Change-Id: Ie708e64c1d30751d902f99d17ce0cae0c8d5d08a
Fix State

Change-Id: Ifced47b044cfd994eeaf53991f516ef702dd8eaa
Fix DiffState

Change-Id: Id4d48a263e60a1d7416a8181e19e1db0f5d0d67c
Fix InterestTable

Change-Id: I203e9a28ec2e6c7a699df25fb00919172e20e1d0
Fix logger

Change-Id: Ia124672c15b6855634bc1ede36fae0b71c9be13a
Fix logic

Change-Id: I7bfb72e8bb245fab3e9a9d575abc7217bbae86d0
Fix socket

Change-Id: I0076010933c0edd3f5a0960ca55e02e5fff809be
build: Always build in C++11 mode.

Change-Id: Id8c26bc5951a0b60c4f2f0868ad0167b2f0d56af
Refs: #2103
Merge branch 'master' into tmp-doc
doc: update reset mechanism by introducing synchronization round number

Change-Id: Ie96a22b98e723c0acfef0bc7beb51befc91f8438
Refs: #2076