Major update.

- Require PHP 5.3+ and use namespaces
- Adopt the PSR-2 coding standard
- Adopt PSR-4 autoloading
- Switch to 3-clause BSD license