Move SIP creation logic to helpers file.

De-cluttering the ingest views file by moving SIP creation-related
logic into a separate file.