renamed pdo class to sql for older versions of PHP compatability

Signed-off-by: Brandon Newman <brandon@visionamp.com>