CB-7937 - Re-factor iOS Camera plugin so that it is testable

there will be a follow-up PR for https://issues.apache.org/jira/browse/CB-7938