add .idea directory to .hgignore

fix faulty string to int conversion utilities

(0) -300 -100 -30 -10 -2 +2 +10 +30 tip

mercurial