Added restore endpoint to api - ref #1023

Also, names of submitted files are now stored in the database.
Merge pull request #1258 from ebautistabar/restore_endpoint

Added restore endpoint to api - ref #1023