Lots of fixes v2

This pull request fixes all the calling non-static method statically, deprecation, incompatible implementation etc warnings visible in feedwordpress with WP_DEBUG turned on.