Refactor remaining resource methods

Implements instance methods for create/update/delete operations on resource classes and adds to/from dictionary methods
Update views to use new resource methods
Fix comment formatting
Pass access_token to updates if supplied
Add resource classes for File metadata and Attachment management
Add avatar file field to profile form and change encoding to multipart form
Add avatar upload processing to profile update view