Renamed tests
Extracted IStatement, renamed Query->Statement and Statement->RegularStatement
Removed circular dependency between Statement and Session