incremental commit; large refactoring

Making an effort to make Telsh less server-dependent. Not going so well (all of the self.server attribute access), but otherwise has done a great job cleaning up TelnetServer and unbundling shell from Telnet.