fixup positional arg parsing in notebook app

- `ipnb .` triggers override of sub-config, even when the parent isn't changed
- `ipnb /path/nb.ipynb` sets notebook_dir to `/path`
write config instead of direct assignment from the command-line

Which is gross.