Update index.md
Update index.md
Added documentation for retrieving results as scalar and map.
Merge pull request #107 from sachinwalia2k8/gh-pages

Updated documentation with examples of using scalars.