Fix more PdoDataMapper bugs and make registration more usable