phing build file, phpunit configuration file, additional unit tests, bug fix for #50 and some other smaller changes