Finalize renderStateToString

* allow custom serializers (fix #11)
* add remaining test coverage to `Fluxy.renderStateToString` function