Squelch WP_DEBUG warnings

Removed the use of two deprecated functions (as of Wordpress 3.4) and fixed a warning about referencing non-variables.
Fixed even/odd CSS class calculation for comments.