fPdo: added transactions and nested transactions support