Remove unused import
Changed tests to allow for modules upgrading to namespaced blocks to work.

Block class names in use are stored in the database. When a module converts to
namespaced classes, it means the PEAR style classes are no longer available. This
patch makes an assumption to try namespaced classes if the PEAR equivalent is
not present.