Automatically URL-encode the share link

This way the developer can use a query string on their URL without
having to think to encode it first.
code style update
only encode the query string if it isn't already encoded
`cake build`
Merge pull request #73 from seanlinsley/url-encode-share-link

Automatically URL-encode the share link