Ubuntu 12.04 build fix/instructions + CLI enhancement

I added the steps I needed to take to build this (not quite yet, as you can see from issue #1 and #2). I also made the cli quit with a better message if the server can't be reached.

Edit: I hope you don't mind my PEP8-ocd, but I couldn't resist fixing most of them :)