Fix test_api running the app server problem

  - Initially running the app server was done from a subprocess module spawning
    the python script like `python app.py`. Fix that to programmatically start
the app server using tornado APIs.
This fixes the "Connection Error" problem.

  - Update the test_get_all_labs test case.
Merge branch 'master' of github.com:vlead/dataservices