ci: Fixes for travis-ci

Change-Id: I717d7efab8fc1812eec5791ea649c20d96af3087
build: Fixing code to compile using the latest version of ndn-cpp-dev

The latest version of ndn-cpp-dev updated Name and Name::Components.

One issue is that name components now need to be explicitly constructed
either with name::Component or Name::Component constructor (implicit
construction is reserved for NDN names).

Another issue is that both Name and Name::Components are now internally
stored as "Blocks".  Access to the value is possible through value(),
value_begin(), value_end(), value_size(), and blockFromValue() methods.

Change-Id: I25835da2c67567b2a20ecaa573ddd14edb6d6c0b