Allow to pass arguments to scripts

This PR allows to specifiy arguments to the script on the command line (in addition to the filename).

It is based on the `argparse` branch.

This PR might not be the final implementation, but merely the basis for discussion. Probably the arguments should be reset if another file is loaded. Maybe there are better ways to actually pass the arguments into the code.