Allow configuration file to be passed in

This tackles the main part of @papile's #1.

The test for this is messy because it's unclear to me whether the
configuration object is something that should be manipulated after the
processor has been created. Feedback from @michaelhkay @ond1 or @papile
appreciated on that one.