Add support for link options.

This is very similar to #9, so thanks to @estum for doing the majority of the work. This includes a passing spec, and is in use on an active project as well.