[tkt-58] Unifies folder and file creation mode

Image/Finder is now used to create missing folders and ensure that
correct access rights are set on files.
This commit also changes the way commands objects get their
dependencies. Each object implements 'inject' method that can finally
by used to inject mocks in tests.
Merge pull request #3 from hoborglabs/tkt-58

[tkt-58] Unifies folder and file creation mode