Change Transformer to Func1<Observable<T>, Observable<R>>

Less variance is better. I cannot find any bad case for this PR. Can someone help test it in Java 8 and Groovy?