Given an array of terms, generate a permalink

This is a top-level helper function that allows scriblio to generate a URL given a simple array of term objects.