Clean-up the code base

Two small clean-ups that put Drush more in line with accepted coding standards, improve performance a tiny bit and mostly helps reduce the noise in XHProf traces:

* Remove `is_null()` and replace it with `isset()` or `=== NULL`.
* Replace `sizeof()` by `count()`.