fix php sample
Checking the file type
changing message(file type) to bad file
Update README.md

Resumable configuration.
Adding doc to 'fileType' and 'fileTypeErrorCallback'
Add Component package manager support