Support Synchronous Source in OnSubscribeRefCount

Merge of https://github.com/ReactiveX/RxJava/pull/1695 into 1.x branch.