Added unittest folder using unit tests based on Catch framework (https://github.com/philsquared/Catch).
Added contract_test.cc. Added dependencies to Makefile.
Fixed bugs in generic/dot_impl.h where iterators were not advanced after initial assignment and std::conj was missing in initial assignment in certain cases. Added unittest/dot_test.cc
Merge branch 'upstream/master' into 'emstoudenmire/master'