Add uploads directory and associated example; ce

+ Added uploads dir
+ Added example code for uploading files
* Formatted code in line with style guide
* Added `uploads` to git ignore file
* Whitelisted `uploads/index.php` in git ignore file