[Android] Add the test case about getVersion.

This patch contains the test about getVersion in shared and
embedded mode. It's for the runtime client.
Get the version, confirm it's validity by regular expression.
Merge pull request #1046 from wuhengzhi/getVersion

[Android] Add the test case about getVersion.