Simplify architecture.

mv AbstractLayer Layer
mv Layer/*/*Statement.php Layer/*/Statement.php
Link \PDOException as a previous exception.
Add the hoa://Event/Database/<id>:opened event.

And add the getId() method.
Add the close() method and :closed event.