added gnu-sed (grrr), and a script to edit Intellij-Idea to allow it to work on MacOSX