Fix (finish?) profile provenance recording. I guess this was something I had
intended to finish, but never did. Unfortunate since we have lost some info that might have been useful. In addition, we now record provenance on a plain profile copy, in addition to a clone. Fixes to the profile history display, and add a new pointer to the profile derived from when it is not null.
Showing with 121 additions and 54 deletions