make sure target is removed before link (for directories)
change test to -d to only rm -rf directories that exist at the target
add source existance check
(formatting) - attempt to reduce line length
Merge pull request #1 from crowdfavorite/feature/rm-targ-before-link

make sure target is removed before link (for directories)