Splitting get_terms_link into two methods

Taking the guts of `get_terms_link` and creating the `get_terms_as_facets` helper function
Merge pull request #40 from borkweb/split-get_terms_link-into-two

Splitting get_terms_link into two methods