Moved stored proc sql builder to separate class
Added debugger display
Removed pointless append

We can add the space in the initial string.
Moved tests to correct class.
Updated tests which had been moved
Moved select sql builder to separate class
Abstracted common code to base class