New API (see below)

* MagicFileList as primary input actually treated as primary input
* Output function no longer gets the primaryInput,
  pass the MagicFile by hand instead
* Only primary inputs are passed to the operation. Secondary inputs
  are assumed to be implicit.