add toMap from Java Observable

Added three overloads of toMap to Scala Observable