Catch errors in NMC timer.

Catch exceptions (hopefully) everywhere in the Namecoin update timer,
also when trying first to determine about wallet unlocking.
Add .pro file for test_nmc.

Add a .pro file to build the test_nmc Namecoin credentials verifier test
program again after it depends on Qt now.