Failure blocks + feedback for failures + UI improvement

I implemented failure blocks for operations in **MWApi** and **CommonsApp** so failures can be handled. I also added some alerts for failures such as incorrect credentials, upload failures, and refresh failures. 

Also I changed the behaviour of the 'Upload' button so that it is only enabled when there are files queued for upload.