Revamped file uploading and added error handling to posting creation form + partially to registration form
last commit before upgrade to rails 4.0.0 and ruby 2.0.0