SI-8705   Added example to Option.contains method.
[scaladoc] Changed align of example code to Option.contains and Option.collect methods.
Merge pull request #3864 from jxcoder/SI-8705

SI-8705   Added example to Option.contains method.