Closing statement cache prepared statements on cleanStatementCache.

Closing prepared statements when cleaning statement cache. 
This will close database cursors when using a connection pool. See problem description at https://code.google.com/p/activeweb/issues/detail?id=135