Land MediaContent API JavaScript code

Jira Issue: WP-1133
merge android changes
support offset and count on android

Jira-issue: WP-1133
Merge pull request #6 from aldafu/WP-1133

Land MediaContent API JavaScript code