modified hermaia.py : added Hermaia.MAX_INSERTS_BEFORE_COMMIT constant and .number_of_inserts_not_commited to commit after a certain number of inserts.