PHP5 implementation of Rails ActiveRecord based on PDO.