Add stricter compile time checks to static library project.

Also fix one issue if MRProgressOverlayView+AFNetworking which came
up with the new warnings. There are no warnings left, so if desired
"Treat Warnings As Errors" could be generally enabled after this.