add toMap from Java Observable
add examples of toMap to RxScalaDemo

Added examples for all three overloads and removed newlines between
methods and docs
corrected implementation

Implementation corrected to not raise exceptions
Merge pull request #1005 from suncelesta/scala-observable-update

add toMap from Java Observable