Added support for stateful closures with parameters
Bumped version number
Merge branch 'release/0.5' into develop

* release/0.5:
  Bumped version number