Fixed duplicate main when building test_namecoin-qt.  Updated
documentation.