Added linked and action variables

Fixes #15

Linked variables use an existing plain old variable as their
storage. Action variables invoke a callback function whenever they
get updated.