Fix the quickbook tests for standalone repo.

They were testing using quickbook from BOOST_ROOT.
Move dependency tracking into a separate class.
Split path normalization from 'add_dependency'.