changing the bindShare resolution to return a closure instead of a string
Merge pull request #40 from tonysm/bindshared-closure

[Fix] The bindShare resolution accepts only Closures