cylc test-battery: improvements

Determine number of jobs by CPU count.
Change directory to `CYLC_DIR` if it is not `PWD`.
Use `diff -u` for comparasion instead of `diff` for more information.