Integrate ScalaRx's code

Code integration is meant to be temporary as long as no official release
of the library is available.