Fix build errors from non-C++11 compilers. Fix scanner to scan refentry's correctly. Change preferred terms to use bold rather than just emphasis. Updated tests to match.