Several functions added, refactored or changed.
Several functions added, refactored or changed.

remove_tree() moved to subfunction of remove_file().
get_symlinks_for_bundle() created.
transform_bundle() now also updates symlinks.
refine_path() refactored to new function.
create_symlink() refactored to new function.

chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster