added CC-BY-SA and link to legal page

This closes issue #114.