Added support to "directory independent"

See: http://www.yiiframework.com/wiki/105/directory-independent-extensions/