Avoid using __DIR__

As WordPress is compatible to PHP 5.2 this plugin should follow the same guidelines, and the  `__DIR__` constant is available only on PHP 5.3, so we removed it by passing the values of `__FILE__` on another constant to the included files.