make Future scaladoc examples up-to-date and compilable
Merge pull request #2131 from jozic/scaladoc-cleanup

make Future scaladoc examples up-to-date and compilable