Fixed bug where you can't have more tasks than machines

Also added a new frontend for testing scheduling throughput, which
sends jobs with very short tasks to the backend.