Revert "Use WSGI server from CherryPy for quicker tests"

This reverts commit 98064de80d8c081cba6ca3af1eae993c475d4485.
Extract code for creating index server