implemented repository for csarfile, fixes #18

See #18 
This may also affect the already merged CsarRepository (PR #37) and the getById method

Can a read fail (e.g. what happens when the connection to the database is lost here?) There is no log and no user feedback possible with this implementation...