Fix snippets to use the latest splunk.client apis
fix realtime and splresult snippet
Merge pull request #2 from ljiang1/develop

fix snippet