change python2 requirement to python3 in long_description
make sanity checks in str_to_bool()