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