Added support for a build from pdo statement with a callback, useful for join queries. Note: requires PHP 5.4+ so breaks compatability with PHP 5.3 and below