Fix task ratio

This would seem to fix: https://github.com/locustio/locust/issues/123. Also simplified inspectlocust a bit which should make it easier to test.