Add flatten option for glob_to_multiple example and a link to the 'expand' API.

Closes gh-71.