Improvements to installation and upgrade: use anaconda package for IPython installation and drop dev requirements. Correctly identify and remove broken symlinks to main executable