modified hermaia.py : added indexes to the database and modified some types (TEXT > VARCHAR)
modified hermaia.py and tests.py : added Hermaia.commit() to commit after N update/insert operations; N=Hermaia.MAX_OPERATIONS_BEFORE_COMMIT