Several fixes to bundle.py and to_bundle.py

- added function annotations
- fixed tuple being passed to refine_path()
- changed copy_file() to always use shutil.copy2()
- cleaned up detect_move() and subfunction old_new()
- changed default installation path to /opt/chipster