Bringing in file upload from old sdk

1. Bringing in file upload from old sdk.
2. Rename few post requests.
3. Minor fixes
4. Added AbstractResourceRequest class
5. Added Helper methods
6. Added few unit tests