Bug 915661 - [Gallery] Add Marionette tests
Refactored to make it easier for other media apps ti use the coomin module
 sync file copy and moved files to lib folder