Adapt sed calls to MacOSX
Add latest versions of Redmine in core_install.sh
Run rake through bundler so that it works if there are multiple versions of rake installed on the system