Fix for #369, #370, #371 and #372

#369: Deallocing IIViewDeckController causes KVO observers to not be removed
#370: Multiple warnings with -Wsign-compare
#371: Multiple warnings with -Wshadow
#372: '__bridge' casts have no effect when not using ARC