Merge pull request #13 from chernjie/master

Improved support for CLI development work
Improved PHP_SELF check, this should make it work in case the file is stored in a diferrent directory; e.g. bin/Spyc.php