move static table for byte wise select

refactor determine bits per value
add static table for byte wise popcount to core/api
add extern variables to documentation

add module thread to include gt_jobs in the documentation.