only add input to the session if there is an input
only add input to the session if there is an input

This will prevent NSInvalidArgumentException on iOS8 in case the permission for
the camera was revoked in the settings.

nerdishbynature/NBNPhotoChooser,kimar/NBNPhotoChooser