Bump version to 1.0-dev, without PHP 5.2 support
Remove 5.2 compatibilty code in some places
Port library to use namespaces, with BC for old names
Update docs to use new names