2 tidy-up changes

* Made some CsvUpload sample code more suitable to embed in samples
* Moved the OAuth samples resources to res/