extend histtab to work with TableS
cleanup viewtab
codequality tests
add rpy dep to requirements-dev
update viewtab with new features