peggles2

Results 3 issues of peggles2

This pull request will force native camera to do the document capture after the sdk camera has failed twice.

Work in progress not ready for review.

status - work in progress

This upgrades supports rails version 5.2