Fix and update booststrap shell script

- Change from distribute to setuptools
- Fetch and install magcode-core python egg