JDF-548 and JDF-549 Fixes for kitchensink-cordova

Fixed applicable warning issues in the project and ported CB-3768 to ensure linking succeeds for iPhone 5.