(very) basic variable support

This is the pull request mentioned in #9. It is a very basic variable implementation allowing the user to specify either a literal value (string, number, etc.) or a selector to use to select nodes into the variable.