adapted to new patterns_history_set_parent
Merge branch '7.x-1.x' of github.com:QScience/patterns_client into 7.x-1.x