refactor image processing functions into PhotoEditController
Merge remote-tracking branch 'origin/iOS8' into iOS8
display Shape overlay image when selecting shapes