ndn-cxx: Use git for package source

Update also includes:
- option to build HEAD commit of the library
- explicit dependency specification for the dependencies