a bit of reorganization
a bit of reorganization

SAILnet now extends a more general dictionary learner class. Some of
SAILnet's functionality is general to such algorithms and I've started
moving code to the superclass.

emdodds/SAILnet,emdodds/SAILnet