Re #6149. Fix compiler warnings.

Integer precision is used internally, so it should be used consistently
from the start where possible.
Re #6149. Include ImageViewer & RefDetectorViewer in doxygen build.
Re #6149. Add a short README file.