Rework database configuration name handling.

DatabaseConfiguration name was not consistently managed by Pomm Service.
In order to ensure all database configurations have a name, the Service
assign a name to them when registered.
Furthermore, a DatabaseConfiguration instance can have no name by itself
instead of returning oddly its class name by default, which could make
two instance having the same name.
When no name, DatabaseConfiguration returns null.