Add basic source stubbing class.
Allow stubbing with SourceStub objects.