move config.py to config.py_dist

add error checking importing jpype and config