License changes, and some fixes to PDO Core

Signed-off-by: Alfonso Martinez <corrupted.rogues@gmail.com>