AIDA-83 CharacterPositionRuler is a separate class.
AIDA-83 Test query prepare.
AIDA-83 Shutdown sesame repository.
AIDA-83 Prepare queries

- Prepare queries
- Keep connection open (and prepared queries working) for some time.
- Automatically close connection when not using prepared queries.
AIDA-83 Javadoc.
AIDA-83 Cleanup code

- Remove finalize, if all is well the class should not leak resources even without finalize;
- Move checkConnectionIsOpen() to separate method.