Add phpunit as a devel package
New util function, formatting, other fixes
Do not make nulls empty strings
Migrate to new RESTful API
Add unit tests