Link code refactoring.

Links returned as String array (after being accumulated from a post) are
now passed as a String array to the addLinks function. New function
allows post objects to acquire links from another post object.