Check the type of the object "Roles" returned in wp.getProfile is an Array of objects.
Merge pull request #291 from wordpress-mobile/issue-282

Fix for issue #282  "ClassCastException in RefreshBlogContentTask"

Tested this out and looks good - merging in.