Use strict comparison and fix whitespace issues

As per feedback from @JustinSainton.
Should now match http://make.wordpress.org/core/handbook/coding-standards/php/.