Add cache(int capacity) to Observable
Set scalatest as testCompile dependency

Gradle now generates correct eclipse dependencies
Remove provided configuration for test dependencies
Remove build provided references (except for rxjava-android)
Remove build provided references and separate JUnit tests
Range concurrency & off-by-one bugfix
Merge pull request #1421 from akarnokd/RangeBackpressureFix

Range backpressure concurrency & off-by-one bugfix
Merge pull request #1394 from gliptak/scalabindings

Gradle Builds: Change provided to testCompile
Concurrency Fixes for RxRingBuffer & Merge
Merge pull request #1422 from benjchristensen/issue-1420

Concurrency Fixes for RxRingBuffer & Merge
Changed producer interface to work with long instead of int
Merge pull request #1423 from stealthcode/ProducerIntToLong

Changed producer interface to work with long instead of int
Publish signature

Less variance, more type inference
Removed unnecessary variance
Revert "CompositeException does not mutate nested exceptions by attaching stacks, but instead"

This reverts commit f4ae92aa624923e9a632fb677730a2d6e04595e5.
Forgot to undo
Removed deprecated OnSubscribeFunc
Remove cycles in CompositeException
Undo comments
Copied from master