Update file Phpcr model + add unit tests for file and image