Fixes static analyzer warnings. Part 1
Adds missing semiconlon
Fixes static analyzer warnings. Part 2
Fixes static analyzer warnings. Part 3
Fixes static analyzer warnings. Part 4
Adds missing pointer dereference
Fixes unread assignment warning
Adds missing assignment
Fixes memory leak
Merge pull request #1709 from wordpress-mobile/issue/1706-fixes-analyzer-warnings

Issue #1706: Fixing Static Analyzer Warnings