2) Heavy refactor of getAssetsInClipboard to make it use getLineage instead of
custom SQL.
Made Workflow/Activity/TrashClipboard use the same method.
Updated getLineage so that the whereClause key must not only exist, but actually
have something in it. Otherwise it generates an empty pair of parens, which is
a SQL error.
a slave reference back to the original db from the config.
Bug fixes for the TrashClipboard workflow activity. The dates were off,
since the interval returns an epoch, and the call to Asset->new didn't
have the session.