Query update APPLY

- Allow applying a function to result sets
- Added apply functions "mixin_add" and "mixin_remove"
Merge pull request #125 from phpcr/query_apply

Query update APPLY
Improved autocomplete

The autocomplete now includes commands in addition to paths and
options.