Modified the Query class to have an instance level adapter.  In the beginning adapter was merely a collection of static string manipulations without state.  Since the introduction of PreparedAdapter, adapters now have state in the form of bindings.  This leads to not being able to build two adapters with prepared statements in parallel with the current set-up of one shared adapter.  Here is an example [code] $q1 = Query::select()->from('foo');
Modified the Query class to have an instance level adapter.  In the beginning adapter was merely a collection of static string manipulations without state.  Since the introduction of PreparedAdapter, adapters now have state in the form of bindings.  This leads to not being able to build two adapters with prepared statements in parallel with the current set-up of one shared adapter.  Here is an example
[code]
$q1 = Query::select()->from('foo');

$q2 = Query::select()->from('bar');

$q1->where('x = ?', $x);    //print_r($adapter->bindings) ::  (0 => $x)
$q2->where('y = ?', $y);    //print_r($adapter->bindings) ::  (0 => $x, 1 => $y)

$q1->execute();             //Parameterization will insert the first variable ($x) in for the first question mark. Correct!
$q2->execute();             //Parameterization will insert the first variable ($x) in for the first question mark. Incorrect!
                            // <-- ERROR: Should have inserted $y, but since the adapter has a shared binding array, state transfer occurs.
[/code]

ihumanable/prosper-lib,ihumanable/prosper-lib