added basic tests and extended api with some getter
added phpunit configuration
minimum-stability to dev