taskbase: Infer configdir from path to config file

This should allow having an outputdir-independent config.ini in git.
Make --config argument required again

The new model is:
1) config.ini is kept in git, and does not include output directory
2) You have to specify it on the command line
3) outputdir defaults to $(pwd)

As part of this, move common handling of -c argument to taskbase.