rework LiveServerTestCase to use tornado

 * use tornado and spawn the server process in a thread instead of a process
 * rename _pre_setup & _post_teardown to have a _live suffix so that
   derived test classes can choose to extend both LiveServerTestCase & TestCase