Updates requested by Aleks & others

1) Convert to tabs From spaces
2) Verify Build and testsuite on Mac OSX, Linux And Windows
3) Add support for prepared statement deallocation while in a transaction

a) More efficient Session locking 
b) Makefile woks on Linux (Ubuntu 14.04) & Mac OSX (Mavericks - 10.9)