Netflix/RxJava — pull request #977 by benjchristensen (2014-03-20 21:35:54+00:00)
Title: Dematerialize - handle non-materialized terminal events

This is used for a use case such as:

```java
observable.flatMap(t -> {
if(x) {
return Observable.from(Notification.create(t));
} else {
return Observable.error(e);
}).dematerialize();
```