Serializable dependency injection container for PHP 5.3+