Crm 12529

Patch for a function to get Price Set history until the table price_set_entity can be modified to keep the history. Sorry, there seems to be an extra junk commit in there. Please only look at the commit labeled with this issue number.