jenkins: add check_contrib.sh to automatically compile and check contribs