validate type of 'path' and 'mimeType' in storeFile (refs #262)
Merge pull request #275 from remotestorage/storeFile-check-parameters

validate type of 'path' and 'mimeType' in storeFile