Readability on createActivites

I was trying to debug something on target create & couldn't make sense of this fn so I interpreted it & found that most of it was easily removed. I have tested on a single contact & search results & activity is created (although on master it was not visible on the contact tab either before or after the changes.

NB it would be testable if the relevant formValues were passed in rather than the form