Rewrite bootstrap script for clarity

Hello,

I rewrote the install script for some mysterious reason. As short and uninteresting as it was, I suppose something irked me about it and I rewrote it. The changes are all cosmetic, except for the `stream.isatty()` check, which hardly matters. 

Feel free to ignore this :)

Regards,
Georgi
Qualified imports please.  Also, why did you keep `import sys`, if you are importing its attributes into our namespace anyway?