move the 'digest' method off of the source file and onto the asset file

Fits better on this model.  Sets up the future file store pattern
for handling writing output files.

No major behavior change - just moving logic to a more appropriate
location - a reorg.
Merge pull request #41 from redding/kr-digestmeth

move the 'digest' method off of the source file and onto the asset file