Fix BC break by reintroducing the ResultFactory class

Fixes #235
Prepare 1.5.1 release
Bump version to 1.5.2-dev