fixes for previous commit (oops), added exception config to PDO returned from factory, ProtoModel handles custom idField better, other small fixes